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();
121 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
) {
122 PyObject
* _resultobj
;
127 if(!PyArg_ParseTuple(args
,":wxWindow_FindFocus"))
129 _result
= (wxWindow
*)wxWindow_FindFocus();
130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
131 _resultobj
= Py_BuildValue("s",_ptemp
);
135 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
136 if (PyCallable_Check(func
)) {
137 self
->Connect(id
, lastId
, eventType
,
138 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
139 new wxPyCallback(func
));
142 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
143 PyObject
* _resultobj
;
144 wxEvtHandler
* _arg0
;
150 PyObject
* _obj4
= 0;
153 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
156 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
164 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
166 _resultobj
= Py_None
;
170 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
173 src
= (wxWindow
*) ptr
;
174 dest
= (wxEvtHandler
*) src
;
175 return (void *) dest
;
178 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
179 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
180 PyObject
* _resultobj
;
184 wxPoint
* _arg2
= &wxPyDefaultPosition
;
185 wxSize
* _arg3
= &wxPyDefaultSize
;
187 char * _arg5
= "panel";
194 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
197 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
203 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
209 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
214 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
216 _resultobj
= Py_BuildValue("s",_ptemp
);
220 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
221 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
222 PyObject
* _resultobj
;
227 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
230 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
235 wxWindow_CaptureMouse(_arg0
);
237 _resultobj
= Py_None
;
241 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
242 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
243 PyObject
* _resultobj
;
245 int _arg1
= (wxHORIZONTAL
);
249 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
252 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
257 wxWindow_Center(_arg0
,_arg1
);
259 _resultobj
= Py_None
;
263 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
264 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
265 PyObject
* _resultobj
;
267 int _arg1
= (wxHORIZONTAL
);
271 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
274 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
279 wxWindow_Centre(_arg0
,_arg1
);
281 _resultobj
= Py_None
;
285 #define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
286 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
287 PyObject
* _resultobj
;
293 PyObject
* _obj1
= 0;
295 PyObject
* _obj2
= 0;
298 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreen",&_argc0
,&_obj1
,&_obj2
))
301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
307 temp
= (int) PyInt_AsLong(_obj1
);
311 temp0
= (int) PyInt_AsLong(_obj2
);
314 wxWindow_ClientToScreen(_arg0
,_arg1
,_arg2
);
316 _resultobj
= Py_None
;
319 o
= PyInt_FromLong((long) (*_arg1
));
320 _resultobj
= t_output_helper(_resultobj
, o
);
324 o
= PyInt_FromLong((long) (*_arg2
));
325 _resultobj
= t_output_helper(_resultobj
, o
);
330 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
331 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
332 PyObject
* _resultobj
;
339 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
347 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
348 _resultobj
= Py_BuildValue("i",_result
);
352 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
353 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
354 PyObject
* _resultobj
;
360 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
363 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
368 _result
= (bool )wxWindow_Destroy(_arg0
);
369 _resultobj
= Py_BuildValue("i",_result
);
373 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
374 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
375 PyObject
* _resultobj
;
380 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
388 wxWindow_DestroyChildren(_arg0
);
390 _resultobj
= Py_None
;
394 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
395 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
) {
396 PyObject
* _resultobj
;
403 if(!PyArg_ParseTuple(args
,"si:wxWindow_DragAcceptFiles",&_argc0
,&tempbool1
))
406 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
411 _arg1
= (bool ) tempbool1
;
412 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
414 _resultobj
= Py_None
;
418 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
419 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
420 PyObject
* _resultobj
;
427 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
435 _arg1
= (bool ) tempbool1
;
436 wxWindow_Enable(_arg0
,_arg1
);
438 _resultobj
= Py_None
;
442 #define wxWindow_FindWindowByID(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
443 static PyObject
*_wrap_wxWindow_FindWindowByID(PyObject
*self
, PyObject
*args
) {
444 PyObject
* _resultobj
;
452 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowByID",&_argc0
,&_arg1
))
455 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByID. Expected _wxWindow_p.");
460 _result
= (wxWindow
*)wxWindow_FindWindowByID(_arg0
,_arg1
);
461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
462 _resultobj
= Py_BuildValue("s",_ptemp
);
466 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
467 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
468 PyObject
* _resultobj
;
473 PyObject
* _obj1
= 0;
477 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
480 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
486 if (!PyString_Check(_obj1
)) {
487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
490 _arg1
= new wxString(PyString_AsString(_obj1
));
492 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
494 _resultobj
= Py_BuildValue("s",_ptemp
);
502 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
503 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
504 PyObject
* _resultobj
;
509 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
512 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
519 _resultobj
= Py_None
;
523 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
524 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
525 PyObject
* _resultobj
;
532 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
535 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
540 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
541 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
542 _resultobj
= Py_BuildValue("s",_ptemp
);
546 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
547 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
548 PyObject
* _resultobj
;
554 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
557 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
562 _result
= (int )wxWindow_GetCharHeight(_arg0
);
563 _resultobj
= Py_BuildValue("i",_result
);
567 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
568 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
569 PyObject
* _resultobj
;
575 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
578 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
583 _result
= (int )wxWindow_GetCharWidth(_arg0
);
584 _resultobj
= Py_BuildValue("i",_result
);
588 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
589 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
590 PyObject
* _resultobj
;
605 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSizeTuple",&_argc0
))
608 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
613 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
615 _resultobj
= Py_None
;
618 o
= PyInt_FromLong((long) (*_arg1
));
619 _resultobj
= t_output_helper(_resultobj
, o
);
623 o
= PyInt_FromLong((long) (*_arg2
));
624 _resultobj
= t_output_helper(_resultobj
, o
);
629 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
630 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
631 PyObject
* _resultobj
;
638 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
641 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
646 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
647 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
648 _resultobj
= Py_BuildValue("s",_ptemp
);
652 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
653 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
654 PyObject
* _resultobj
;
655 wxLayoutConstraints
* _result
;
661 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
664 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
669 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
671 _resultobj
= Py_BuildValue("s",_ptemp
);
675 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
676 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
677 PyObject
* _resultobj
;
684 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetDefaultItem",&_argc0
))
687 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
692 _result
= (wxButton
*)wxWindow_GetDefaultItem(_arg0
);
693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
694 _resultobj
= Py_BuildValue("s",_ptemp
);
698 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
699 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
700 PyObject
* _resultobj
;
707 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
715 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
716 _result
= (wxFont
*) &_result_ref
;
717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
718 _resultobj
= Py_BuildValue("s",_ptemp
);
722 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
723 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
724 PyObject
* _resultobj
;
731 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
734 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
739 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
740 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
741 _resultobj
= Py_BuildValue("s",_ptemp
);
745 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
746 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
747 PyObject
* _resultobj
;
754 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
757 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
762 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
764 _resultobj
= Py_BuildValue("s",_ptemp
);
768 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
769 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
770 PyObject
* _resultobj
;
776 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
779 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
784 _result
= (int )wxWindow_GetId(_arg0
);
785 _resultobj
= Py_BuildValue("i",_result
);
789 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
790 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
791 PyObject
* _resultobj
;
797 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
800 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
805 _result
= new wxString (wxWindow_GetLabel(_arg0
));
807 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
815 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
816 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
817 PyObject
* _resultobj
;
823 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
826 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
831 _result
= new wxString (wxWindow_GetName(_arg0
));
833 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
841 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
842 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
843 PyObject
* _resultobj
;
850 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
853 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
858 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
860 _resultobj
= Py_BuildValue("s",_ptemp
);
864 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
865 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
866 PyObject
* _resultobj
;
881 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPositionTuple",&_argc0
))
884 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
889 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
891 _resultobj
= Py_None
;
894 o
= PyInt_FromLong((long) (*_arg1
));
895 _resultobj
= t_output_helper(_resultobj
, o
);
899 o
= PyInt_FromLong((long) (*_arg2
));
900 _resultobj
= t_output_helper(_resultobj
, o
);
905 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
906 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
907 PyObject
* _resultobj
;
914 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
917 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
922 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
923 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
924 _resultobj
= Py_BuildValue("s",_ptemp
);
928 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
929 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
930 PyObject
* _resultobj
;
937 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetRect",&_argc0
))
940 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
945 _result
= new wxRect (wxWindow_GetRect(_arg0
));
946 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
947 _resultobj
= Py_BuildValue("s",_ptemp
);
951 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
952 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
953 PyObject
* _resultobj
;
959 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
967 _result
= (int )wxWindow_GetReturnCode(_arg0
);
968 _resultobj
= Py_BuildValue("i",_result
);
972 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
973 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
974 PyObject
* _resultobj
;
981 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
984 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
989 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
990 _resultobj
= Py_BuildValue("i",_result
);
994 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
995 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
996 PyObject
* _resultobj
;
1003 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
1006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1011 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1012 _resultobj
= Py_BuildValue("i",_result
);
1016 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1017 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
1018 PyObject
* _resultobj
;
1025 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
1028 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1033 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1034 _resultobj
= Py_BuildValue("i",_result
);
1038 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1039 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
1040 PyObject
* _resultobj
;
1055 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
1058 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1063 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1065 _resultobj
= Py_None
;
1068 o
= PyInt_FromLong((long) (*_arg1
));
1069 _resultobj
= t_output_helper(_resultobj
, o
);
1073 o
= PyInt_FromLong((long) (*_arg2
));
1074 _resultobj
= t_output_helper(_resultobj
, o
);
1079 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1080 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1081 PyObject
* _resultobj
;
1088 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
1091 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1096 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1097 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1098 _resultobj
= Py_BuildValue("s",_ptemp
);
1102 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1103 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1104 PyObject
* _resultobj
;
1112 PyObject
* _obj1
= 0;
1121 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1130 if (!PyString_Check(_obj1
)) {
1131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1134 _arg1
= new wxString(PyString_AsString(_obj1
));
1136 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1138 _resultobj
= Py_None
;
1141 o
= PyInt_FromLong((long) (*_arg2
));
1142 _resultobj
= t_output_helper(_resultobj
, o
);
1146 o
= PyInt_FromLong((long) (*_arg3
));
1147 _resultobj
= t_output_helper(_resultobj
, o
);
1156 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1157 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1158 PyObject
* _resultobj
;
1164 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1167 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1172 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1174 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1182 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1183 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1184 PyObject
* _resultobj
;
1190 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1193 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1198 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1199 _resultobj
= Py_BuildValue("l",_result
);
1203 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1204 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1205 PyObject
* _resultobj
;
1210 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1218 wxWindow_InitDialog(_arg0
);
1220 _resultobj
= Py_None
;
1224 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1225 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1226 PyObject
* _resultobj
;
1232 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1235 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1240 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1241 _resultobj
= Py_BuildValue("i",_result
);
1245 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1246 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1247 PyObject
* _resultobj
;
1253 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1261 _result
= (bool )wxWindow_IsRetained(_arg0
);
1262 _resultobj
= Py_BuildValue("i",_result
);
1266 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1267 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1268 PyObject
* _resultobj
;
1274 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1282 _result
= (bool )wxWindow_IsShown(_arg0
);
1283 _resultobj
= Py_BuildValue("i",_result
);
1287 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1288 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1289 PyObject
* _resultobj
;
1294 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1297 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1302 wxWindow_Layout(_arg0
);
1304 _resultobj
= Py_None
;
1308 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1309 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1310 PyObject
* _resultobj
;
1315 wxResourceTable
* _arg3
= NULL
;
1318 PyObject
* _obj2
= 0;
1322 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1331 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1337 if (!PyString_Check(_obj2
)) {
1338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1341 _arg2
= new wxString(PyString_AsString(_obj2
));
1344 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1349 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1350 _resultobj
= Py_BuildValue("i",_result
);
1358 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1359 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1360 PyObject
* _resultobj
;
1365 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1368 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1373 wxWindow_Lower(_arg0
);
1375 _resultobj
= Py_None
;
1379 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1380 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1381 PyObject
* _resultobj
;
1388 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1391 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1396 _arg1
= (bool ) tempbool1
;
1397 wxWindow_MakeModal(_arg0
,_arg1
);
1399 _resultobj
= Py_None
;
1403 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1404 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1405 PyObject
* _resultobj
;
1412 if(!PyArg_ParseTuple(args
,"sii:wxWindow_Move",&_argc0
,&_arg1
,&_arg2
))
1415 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1420 wxWindow_Move(_arg0
,_arg1
,_arg2
);
1422 _resultobj
= Py_None
;
1426 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1427 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1428 PyObject
* _resultobj
;
1438 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1441 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1447 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1452 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1453 _resultobj
= Py_BuildValue("i",_result
);
1457 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1458 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1459 PyObject
* _resultobj
;
1464 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1467 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1472 wxWindow_Raise(_arg0
);
1474 _resultobj
= Py_None
;
1478 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1479 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1480 PyObject
* _resultobj
;
1483 wxRect
* _arg2
= NULL
;
1489 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1492 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1497 _arg1
= (bool ) tempbool1
;
1499 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1504 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1506 _resultobj
= Py_None
;
1510 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1511 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1512 PyObject
* _resultobj
;
1517 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1520 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1525 wxWindow_ReleaseMouse(_arg0
);
1527 _resultobj
= Py_None
;
1531 #define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1532 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
1533 PyObject
* _resultobj
;
1539 PyObject
* _obj1
= 0;
1541 PyObject
* _obj2
= 0;
1544 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClient",&_argc0
,&_obj1
,&_obj2
))
1547 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
1553 temp
= (int) PyInt_AsLong(_obj1
);
1557 temp0
= (int) PyInt_AsLong(_obj2
);
1560 wxWindow_ScreenToClient(_arg0
,_arg1
,_arg2
);
1562 _resultobj
= Py_None
;
1565 o
= PyInt_FromLong((long) (*_arg1
));
1566 _resultobj
= t_output_helper(_resultobj
, o
);
1570 o
= PyInt_FromLong((long) (*_arg2
));
1571 _resultobj
= t_output_helper(_resultobj
, o
);
1576 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1577 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1578 PyObject
* _resultobj
;
1582 wxRect
* _arg3
= NULL
;
1587 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1590 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1596 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1601 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1603 _resultobj
= Py_None
;
1607 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
1608 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
1609 PyObject
* _resultobj
;
1611 wxAcceleratorTable
* _arg1
;
1616 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
1619 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
1625 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
1630 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
1632 _resultobj
= Py_None
;
1636 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1637 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1638 PyObject
* _resultobj
;
1645 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1648 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1653 _arg1
= (bool ) tempbool1
;
1654 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1656 _resultobj
= Py_None
;
1660 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1661 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1662 PyObject
* _resultobj
;
1669 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1678 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1683 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1685 _resultobj
= Py_None
;
1689 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1690 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1691 PyObject
* _resultobj
;
1693 wxLayoutConstraints
* _arg1
;
1698 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1701 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1707 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1712 wxWindow_SetConstraints(_arg0
,_arg1
);
1714 _resultobj
= Py_None
;
1718 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1719 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1720 PyObject
* _resultobj
;
1727 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1730 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1735 _arg1
= (bool ) tempbool1
;
1736 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1738 _resultobj
= Py_None
;
1742 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1743 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1744 PyObject
* _resultobj
;
1749 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1757 wxWindow_SetFocus(_arg0
);
1759 _resultobj
= Py_None
;
1763 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1764 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1765 PyObject
* _resultobj
;
1772 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1781 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1786 wxWindow_SetFont(_arg0
,*_arg1
);
1788 _resultobj
= Py_None
;
1792 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1793 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1794 PyObject
* _resultobj
;
1801 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
1810 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
1815 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
1817 _resultobj
= Py_None
;
1821 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1822 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
1823 PyObject
* _resultobj
;
1829 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
1832 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
1837 wxWindow_SetId(_arg0
,_arg1
);
1839 _resultobj
= Py_None
;
1843 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
1844 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
1845 PyObject
* _resultobj
;
1849 PyObject
* _obj1
= 0;
1852 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
1855 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
1861 if (!PyString_Check(_obj1
)) {
1862 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1865 _arg1
= new wxString(PyString_AsString(_obj1
));
1867 wxWindow_SetName(_arg0
,*_arg1
);
1869 _resultobj
= Py_None
;
1877 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1878 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
1879 PyObject
* _resultobj
;
1885 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
1888 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
1893 wxWindow_SetReturnCode(_arg0
,_arg1
);
1895 _resultobj
= Py_None
;
1899 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1900 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
1901 PyObject
* _resultobj
;
1912 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
1915 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
1920 _arg5
= (bool ) tempbool5
;
1921 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1923 _resultobj
= Py_None
;
1927 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
1928 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
1929 PyObject
* _resultobj
;
1938 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1941 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
1946 _arg3
= (bool ) tempbool3
;
1947 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
1949 _resultobj
= Py_None
;
1953 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1954 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
1955 PyObject
* _resultobj
;
1961 int _arg5
= (wxSIZE_AUTO
);
1965 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1968 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
1973 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1975 _resultobj
= Py_None
;
1979 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
1980 self
->SetSize(size
.x
, size
.y
);
1982 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
1983 PyObject
* _resultobj
;
1990 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
1993 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
1999 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2004 wxWindow_SetSize(_arg0
,*_arg1
);
2006 _resultobj
= Py_None
;
2010 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2011 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2013 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2014 PyObject
* _resultobj
;
2021 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2024 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2030 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2035 wxWindow_SetPosition(_arg0
,*_arg1
);
2037 _resultobj
= Py_None
;
2041 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2042 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2043 PyObject
* _resultobj
;
2054 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2057 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2062 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2064 _resultobj
= Py_None
;
2068 #define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2069 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2070 PyObject
* _resultobj
;
2077 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSize",&_argc0
,&_arg1
,&_arg2
))
2080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2085 wxWindow_SetClientSize(_arg0
,_arg1
,_arg2
);
2087 _resultobj
= Py_None
;
2091 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2092 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2093 PyObject
* _resultobj
;
2100 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2103 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2109 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2114 wxWindow_SetCursor(_arg0
,*_arg1
);
2116 _resultobj
= Py_None
;
2120 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2121 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2122 PyObject
* _resultobj
;
2126 PyObject
* _obj1
= 0;
2129 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2138 if (!PyString_Check(_obj1
)) {
2139 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2142 _arg1
= new wxString(PyString_AsString(_obj1
));
2144 wxWindow_SetTitle(_arg0
,*_arg1
);
2146 _resultobj
= Py_None
;
2154 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2155 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2156 PyObject
* _resultobj
;
2164 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2167 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2172 _arg1
= (bool ) tempbool1
;
2173 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2174 _resultobj
= Py_BuildValue("i",_result
);
2178 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2179 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2180 PyObject
* _resultobj
;
2186 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2189 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2194 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2195 _resultobj
= Py_BuildValue("i",_result
);
2199 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2200 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2201 PyObject
* _resultobj
;
2207 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2210 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2215 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2216 _resultobj
= Py_BuildValue("i",_result
);
2220 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2221 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2222 PyObject
* _resultobj
;
2228 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2231 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2236 _result
= (bool )wxWindow_Validate(_arg0
);
2237 _resultobj
= Py_BuildValue("i",_result
);
2241 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2242 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2243 PyObject
* _resultobj
;
2250 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2253 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2258 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2260 _resultobj
= Py_None
;
2264 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2265 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2266 PyObject
* _resultobj
;
2275 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2278 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2284 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2289 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2290 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2291 _resultobj
= Py_BuildValue("s",_ptemp
);
2295 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2296 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2297 PyObject
* _resultobj
;
2306 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2309 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2315 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2320 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2321 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2322 _resultobj
= Py_BuildValue("s",_ptemp
);
2326 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2327 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2328 PyObject
* _resultobj
;
2337 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2340 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2346 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2351 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2352 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2353 _resultobj
= Py_BuildValue("s",_ptemp
);
2357 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2358 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2359 PyObject
* _resultobj
;
2368 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2377 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
2382 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
2383 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2384 _resultobj
= Py_BuildValue("s",_ptemp
);
2388 static void *SwigwxPanelTowxWindow(void *ptr
) {
2391 src
= (wxPanel
*) ptr
;
2392 dest
= (wxWindow
*) src
;
2393 return (void *) dest
;
2396 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2399 src
= (wxPanel
*) ptr
;
2400 dest
= (wxEvtHandler
*) src
;
2401 return (void *) dest
;
2404 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2405 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2406 PyObject
* _resultobj
;
2410 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2411 wxSize
* _arg3
= &wxPyDefaultSize
;
2412 long _arg4
= (wxTAB_TRAVERSAL
);
2413 char * _arg5
= "panel";
2420 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2423 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2429 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2435 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2440 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2442 _resultobj
= Py_BuildValue("s",_ptemp
);
2446 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2447 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2448 PyObject
* _resultobj
;
2453 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2461 wxPanel_InitDialog(_arg0
);
2463 _resultobj
= Py_None
;
2467 static void *SwigwxDialogTowxPanel(void *ptr
) {
2470 src
= (wxDialog
*) ptr
;
2471 dest
= (wxPanel
*) src
;
2472 return (void *) dest
;
2475 static void *SwigwxDialogTowxWindow(void *ptr
) {
2478 src
= (wxDialog
*) ptr
;
2479 dest
= (wxWindow
*) src
;
2480 return (void *) dest
;
2483 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2486 src
= (wxDialog
*) ptr
;
2487 dest
= (wxEvtHandler
*) src
;
2488 return (void *) dest
;
2491 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2492 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2493 PyObject
* _resultobj
;
2498 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2499 wxSize
* _arg4
= &wxPyDefaultSize
;
2500 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2501 char * _arg6
= "dialogBox";
2503 PyObject
* _obj2
= 0;
2509 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2512 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2518 if (!PyString_Check(_obj2
)) {
2519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2522 _arg2
= new wxString(PyString_AsString(_obj2
));
2525 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2531 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2536 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2537 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2538 _resultobj
= Py_BuildValue("s",_ptemp
);
2546 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2547 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2548 PyObject
* _resultobj
;
2550 int _arg1
= (wxBOTH
);
2554 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2557 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2562 wxDialog_Centre(_arg0
,_arg1
);
2564 _resultobj
= Py_None
;
2568 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2569 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2570 PyObject
* _resultobj
;
2576 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2584 wxDialog_EndModal(_arg0
,_arg1
);
2586 _resultobj
= Py_None
;
2590 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2591 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2592 PyObject
* _resultobj
;
2598 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2606 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2608 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2616 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2617 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2618 PyObject
* _resultobj
;
2625 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2628 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2633 _arg1
= (bool ) tempbool1
;
2634 wxDialog_Iconize(_arg0
,_arg1
);
2636 _resultobj
= Py_None
;
2640 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2641 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2642 PyObject
* _resultobj
;
2648 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2651 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2656 _result
= (bool )wxDialog_IsIconized(_arg0
);
2657 _resultobj
= Py_BuildValue("i",_result
);
2661 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2662 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2663 PyObject
* _resultobj
;
2670 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2673 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2678 _arg1
= (bool ) tempbool1
;
2679 wxDialog_SetModal(_arg0
,_arg1
);
2681 _resultobj
= Py_None
;
2685 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2686 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2687 PyObject
* _resultobj
;
2693 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
2696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
2701 _result
= (bool )wxDialog_IsModal(_arg0
);
2702 _resultobj
= Py_BuildValue("i",_result
);
2706 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2707 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
2708 PyObject
* _resultobj
;
2712 PyObject
* _obj1
= 0;
2715 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
2718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
2724 if (!PyString_Check(_obj1
)) {
2725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2728 _arg1
= new wxString(PyString_AsString(_obj1
));
2730 wxDialog_SetTitle(_arg0
,*_arg1
);
2732 _resultobj
= Py_None
;
2740 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2741 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
2742 PyObject
* _resultobj
;
2750 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
2753 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
2758 _arg1
= (bool ) tempbool1
;
2759 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
2760 _resultobj
= Py_BuildValue("i",_result
);
2764 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2765 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2766 PyObject
* _resultobj
;
2772 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
2775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
2780 _result
= (int )wxDialog_ShowModal(_arg0
);
2781 _resultobj
= Py_BuildValue("i",_result
);
2785 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
2786 wxScrolledWindow
*src
;
2788 src
= (wxScrolledWindow
*) ptr
;
2789 dest
= (wxWindow
*) src
;
2790 return (void *) dest
;
2793 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
2794 wxScrolledWindow
*src
;
2796 src
= (wxScrolledWindow
*) ptr
;
2797 dest
= (wxEvtHandler
*) src
;
2798 return (void *) dest
;
2801 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2802 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
2803 PyObject
* _resultobj
;
2804 wxScrolledWindow
* _result
;
2806 wxWindowID _arg1
= -1;
2807 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2808 wxSize
* _arg3
= &wxPyDefaultSize
;
2809 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
2810 char * _arg5
= "scrolledWindow";
2817 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2820 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
2826 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
2832 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
2837 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
2839 _resultobj
= Py_BuildValue("s",_ptemp
);
2843 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
2844 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
2845 PyObject
* _resultobj
;
2846 wxScrolledWindow
* _arg0
;
2854 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
2857 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
2862 _arg1
= (bool ) tempbool1
;
2863 _arg2
= (bool ) tempbool2
;
2864 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
2866 _resultobj
= Py_None
;
2870 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
2871 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
2872 PyObject
* _resultobj
;
2873 wxScrolledWindow
* _arg0
;
2887 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
2890 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
2895 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
2897 _resultobj
= Py_None
;
2900 o
= PyInt_FromLong((long) (*_arg1
));
2901 _resultobj
= t_output_helper(_resultobj
, o
);
2905 o
= PyInt_FromLong((long) (*_arg2
));
2906 _resultobj
= t_output_helper(_resultobj
, o
);
2911 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
2912 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
2913 PyObject
* _resultobj
;
2914 wxScrolledWindow
* _arg0
;
2928 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
2931 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
2936 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
2938 _resultobj
= Py_None
;
2941 o
= PyInt_FromLong((long) (*_arg1
));
2942 _resultobj
= t_output_helper(_resultobj
, o
);
2946 o
= PyInt_FromLong((long) (*_arg2
));
2947 _resultobj
= t_output_helper(_resultobj
, o
);
2952 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2953 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
2954 PyObject
* _resultobj
;
2956 wxScrolledWindow
* _arg0
;
2960 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
2963 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
2968 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
2969 _resultobj
= Py_BuildValue("i",_result
);
2973 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
2974 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
2975 PyObject
* _resultobj
;
2976 wxScrolledWindow
* _arg0
;
2982 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
2985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
2991 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
2996 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
2998 _resultobj
= Py_None
;
3002 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3003 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3004 PyObject
* _resultobj
;
3005 wxScrolledWindow
* _arg0
;
3011 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3014 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3019 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3021 _resultobj
= Py_None
;
3025 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3026 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3027 PyObject
* _resultobj
;
3028 wxScrolledWindow
* _arg0
;
3038 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3041 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3046 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3048 _resultobj
= Py_None
;
3052 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3053 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3054 PyObject
* _resultobj
;
3055 wxScrolledWindow
* _arg0
;
3069 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3077 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3079 _resultobj
= Py_None
;
3082 o
= PyInt_FromLong((long) (*_arg1
));
3083 _resultobj
= t_output_helper(_resultobj
, o
);
3087 o
= PyInt_FromLong((long) (*_arg2
));
3088 _resultobj
= t_output_helper(_resultobj
, o
);
3093 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
3096 src
= (wxMenu
*) ptr
;
3097 dest
= (wxEvtHandler
*) src
;
3098 return (void *) dest
;
3101 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
3102 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
3103 PyObject
* _resultobj
;
3105 wxString
* _arg0
= &wxPyEmptyStr
;
3106 PyObject
* _obj0
= 0;
3110 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
3114 if (!PyString_Check(_obj0
)) {
3115 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3118 _arg0
= new wxString(PyString_AsString(_obj0
));
3120 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
3121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3122 _resultobj
= Py_BuildValue("s",_ptemp
);
3130 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3131 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
3132 PyObject
* _resultobj
;
3136 wxString
* _arg3
= &wxPyEmptyStr
;
3139 PyObject
* _obj2
= 0;
3140 PyObject
* _obj3
= 0;
3143 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3146 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3152 if (!PyString_Check(_obj2
)) {
3153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3156 _arg2
= new wxString(PyString_AsString(_obj2
));
3160 if (!PyString_Check(_obj3
)) {
3161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3164 _arg3
= new wxString(PyString_AsString(_obj3
));
3166 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3168 _resultobj
= Py_None
;
3180 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3181 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3182 PyObject
* _resultobj
;
3187 wxString
* _arg4
= &wxPyEmptyStr
;
3189 PyObject
* _obj2
= 0;
3191 PyObject
* _obj4
= 0;
3194 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
3197 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3203 if (!PyString_Check(_obj2
)) {
3204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3207 _arg2
= new wxString(PyString_AsString(_obj2
));
3210 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3217 if (!PyString_Check(_obj4
)) {
3218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3221 _arg4
= new wxString(PyString_AsString(_obj4
));
3223 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
3225 _resultobj
= Py_None
;
3237 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3238 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3239 PyObject
* _resultobj
;
3244 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3247 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3252 wxMenu_AppendSeparator(_arg0
);
3254 _resultobj
= Py_None
;
3258 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3259 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3260 PyObject
* _resultobj
;
3265 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3273 wxMenu_Break(_arg0
);
3275 _resultobj
= Py_None
;
3279 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3280 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3281 PyObject
* _resultobj
;
3289 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3292 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3297 _arg2
= (bool ) tempbool2
;
3298 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3300 _resultobj
= Py_None
;
3304 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3305 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3306 PyObject
* _resultobj
;
3314 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3317 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3322 _arg2
= (bool ) tempbool2
;
3323 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3325 _resultobj
= Py_None
;
3329 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3330 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3331 PyObject
* _resultobj
;
3336 PyObject
* _obj1
= 0;
3339 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3348 if (!PyString_Check(_obj1
)) {
3349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3352 _arg1
= new wxString(PyString_AsString(_obj1
));
3354 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3355 _resultobj
= Py_BuildValue("i",_result
);
3363 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
3364 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
3365 PyObject
* _resultobj
;
3371 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
3374 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
3379 _result
= new wxString (wxMenu_GetTitle(_arg0
));
3381 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3389 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3390 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
3391 PyObject
* _resultobj
;
3395 PyObject
* _obj1
= 0;
3398 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
3401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
3407 if (!PyString_Check(_obj1
)) {
3408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3411 _arg1
= new wxString(PyString_AsString(_obj1
));
3413 wxMenu_SetTitle(_arg0
,*_arg1
);
3415 _resultobj
= Py_None
;
3423 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3424 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3425 PyObject
* _resultobj
;
3426 wxMenuItem
* _result
;
3433 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3441 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3443 _resultobj
= Py_BuildValue("s",_ptemp
);
3447 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3448 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3449 PyObject
* _resultobj
;
3456 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3464 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3466 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3474 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3475 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3476 PyObject
* _resultobj
;
3483 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3486 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3491 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3493 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3501 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3502 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3503 PyObject
* _resultobj
;
3508 PyObject
* _obj2
= 0;
3511 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3520 if (!PyString_Check(_obj2
)) {
3521 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3524 _arg2
= new wxString(PyString_AsString(_obj2
));
3526 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3528 _resultobj
= Py_None
;
3536 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3537 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3538 PyObject
* _resultobj
;
3545 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3548 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3553 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3554 _resultobj
= Py_BuildValue("i",_result
);
3558 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3559 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3560 PyObject
* _resultobj
;
3567 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3570 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3575 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3576 _resultobj
= Py_BuildValue("i",_result
);
3580 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3581 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3582 PyObject
* _resultobj
;
3587 PyObject
* _obj2
= 0;
3590 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3599 if (!PyString_Check(_obj2
)) {
3600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3603 _arg2
= new wxString(PyString_AsString(_obj2
));
3605 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3607 _resultobj
= Py_None
;
3615 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3618 src
= (wxPyMenu
*) ptr
;
3619 dest
= (wxMenu
*) src
;
3620 return (void *) dest
;
3623 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3626 src
= (wxPyMenu
*) ptr
;
3627 dest
= (wxEvtHandler
*) src
;
3628 return (void *) dest
;
3631 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3632 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3633 PyObject
* _resultobj
;
3635 wxString
* _arg0
= &wxPyEmptyStr
;
3636 PyObject
* _arg1
= NULL
;
3637 PyObject
* _obj0
= 0;
3638 PyObject
* _obj1
= 0;
3642 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3646 if (!PyString_Check(_obj0
)) {
3647 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3650 _arg0
= new wxString(PyString_AsString(_obj0
));
3656 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3658 _resultobj
= Py_BuildValue("s",_ptemp
);
3666 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
3667 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3668 PyObject
* _resultobj
;
3673 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
3676 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
3681 delete_wxPyMenu(_arg0
);
3683 _resultobj
= Py_None
;
3687 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
3690 src
= (wxMenuBar
*) ptr
;
3691 dest
= (wxEvtHandler
*) src
;
3692 return (void *) dest
;
3695 #define new_wxMenuBar() (new wxMenuBar())
3696 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
3697 PyObject
* _resultobj
;
3698 wxMenuBar
* _result
;
3702 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
3704 _result
= (wxMenuBar
*)new_wxMenuBar();
3705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
3706 _resultobj
= Py_BuildValue("s",_ptemp
);
3710 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
3711 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
3712 PyObject
* _resultobj
;
3718 PyObject
* _obj2
= 0;
3721 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
3724 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
3730 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
3736 if (!PyString_Check(_obj2
)) {
3737 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3740 _arg2
= new wxString(PyString_AsString(_obj2
));
3742 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
3744 _resultobj
= Py_None
;
3752 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3753 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
3754 PyObject
* _resultobj
;
3762 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
3765 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
3770 _arg2
= (bool ) tempbool2
;
3771 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
3773 _resultobj
= Py_None
;
3777 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
3778 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
3779 PyObject
* _resultobj
;
3786 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
3789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
3794 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
3795 _resultobj
= Py_BuildValue("i",_result
);
3799 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3800 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
3801 PyObject
* _resultobj
;
3809 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
3812 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
3817 _arg2
= (bool ) tempbool2
;
3818 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
3820 _resultobj
= Py_None
;
3824 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
3825 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
3826 PyObject
* _resultobj
;
3833 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
3836 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
3841 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
3842 _resultobj
= Py_BuildValue("i",_result
);
3846 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
3847 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
3848 PyObject
* _resultobj
;
3854 PyObject
* _obj1
= 0;
3855 PyObject
* _obj2
= 0;
3858 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
3861 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
3867 if (!PyString_Check(_obj1
)) {
3868 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3871 _arg1
= new wxString(PyString_AsString(_obj1
));
3874 if (!PyString_Check(_obj2
)) {
3875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3878 _arg2
= new wxString(PyString_AsString(_obj2
));
3880 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
3881 _resultobj
= Py_BuildValue("i",_result
);
3893 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3894 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
3895 PyObject
* _resultobj
;
3896 wxMenuItem
* _result
;
3903 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
3906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
3911 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
3912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3913 _resultobj
= Py_BuildValue("s",_ptemp
);
3917 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
3918 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
) {
3919 PyObject
* _resultobj
;
3927 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_EnableTop",&_argc0
,&_arg1
,&tempbool2
))
3930 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
3935 _arg2
= (bool ) tempbool2
;
3936 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
3938 _resultobj
= Py_None
;
3942 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3943 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
) {
3944 PyObject
* _resultobj
;
3951 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetHelpString",&_argc0
,&_arg1
))
3954 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
3959 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
3961 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3969 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3970 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
) {
3971 PyObject
* _resultobj
;
3978 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabel",&_argc0
,&_arg1
))
3981 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
3986 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
3988 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3996 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3997 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
) {
3998 PyObject
* _resultobj
;
4003 PyObject
* _obj2
= 0;
4006 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
4009 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
4015 if (!PyString_Check(_obj2
)) {
4016 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4019 _arg2
= new wxString(PyString_AsString(_obj2
));
4021 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
4023 _resultobj
= Py_None
;
4031 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
4032 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
) {
4033 PyObject
* _resultobj
;
4038 PyObject
* _obj2
= 0;
4041 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabel",&_argc0
,&_arg1
,&_obj2
))
4044 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
4050 if (!PyString_Check(_obj2
)) {
4051 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4054 _arg2
= new wxString(PyString_AsString(_obj2
));
4056 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
4058 _resultobj
= Py_None
;
4066 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
4067 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
) {
4068 PyObject
* _resultobj
;
4075 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabelTop",&_argc0
,&_arg1
))
4078 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
4083 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
4085 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4093 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
4094 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
) {
4095 PyObject
* _resultobj
;
4100 PyObject
* _obj2
= 0;
4103 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabelTop",&_argc0
,&_arg1
,&_obj2
))
4106 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
4112 if (!PyString_Check(_obj2
)) {
4113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4116 _arg2
= new wxString(PyString_AsString(_obj2
));
4118 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
4120 _resultobj
= Py_None
;
4128 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4129 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
4130 PyObject
* _resultobj
;
4136 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
4139 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4144 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
4145 _resultobj
= Py_BuildValue("i",_result
);
4149 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4150 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
4151 PyObject
* _resultobj
;
4159 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
4162 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
4167 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
4168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4169 _resultobj
= Py_BuildValue("s",_ptemp
);
4173 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
4174 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
4175 PyObject
* _resultobj
;
4181 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
4184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
4189 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
4190 _resultobj
= Py_BuildValue("i",_result
);
4194 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
4195 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
4196 PyObject
* _resultobj
;
4202 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
4205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
4210 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
4211 _resultobj
= Py_BuildValue("i",_result
);
4215 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
4216 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
4217 PyObject
* _resultobj
;
4223 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
4226 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
4231 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
4232 _resultobj
= Py_BuildValue("i",_result
);
4236 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
4237 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4238 PyObject
* _resultobj
;
4244 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4247 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4252 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4253 _resultobj
= Py_BuildValue("i",_result
);
4257 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4258 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4259 PyObject
* _resultobj
;
4265 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4273 _result
= (int )wxMenuItem_GetId(_arg0
);
4274 _resultobj
= Py_BuildValue("i",_result
);
4278 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4279 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4280 PyObject
* _resultobj
;
4287 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4290 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4295 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4297 _resultobj
= Py_BuildValue("s",_ptemp
);
4301 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4302 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
4303 PyObject
* _resultobj
;
4307 PyObject
* _obj1
= 0;
4310 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
4313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
4319 if (!PyString_Check(_obj1
)) {
4320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4323 _arg1
= new wxString(PyString_AsString(_obj1
));
4325 wxMenuItem_SetName(_arg0
,*_arg1
);
4327 _resultobj
= Py_None
;
4335 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
4336 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
4337 PyObject
* _resultobj
;
4343 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
4346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
4351 const wxString
& _result_ref
= wxMenuItem_GetName(_arg0
);
4352 _result
= (wxString
*) &_result_ref
;
4354 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4359 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4360 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4361 PyObject
* _resultobj
;
4367 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4375 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
4376 _result
= (wxString
*) &_result_ref
;
4378 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4383 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4384 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4385 PyObject
* _resultobj
;
4389 PyObject
* _obj1
= 0;
4392 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
4401 if (!PyString_Check(_obj1
)) {
4402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4405 _arg1
= new wxString(PyString_AsString(_obj1
));
4407 wxMenuItem_SetHelp(_arg0
,*_arg1
);
4409 _resultobj
= Py_None
;
4417 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4418 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
4419 PyObject
* _resultobj
;
4426 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
4429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
4434 _arg1
= (bool ) tempbool1
;
4435 wxMenuItem_Enable(_arg0
,_arg1
);
4437 _resultobj
= Py_None
;
4441 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4442 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
4443 PyObject
* _resultobj
;
4450 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
4453 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
4458 _arg1
= (bool ) tempbool1
;
4459 wxMenuItem_Check(_arg0
,_arg1
);
4461 _resultobj
= Py_None
;
4465 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
4466 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
) {
4467 PyObject
* _resultobj
;
4472 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_DeleteSubMenu",&_argc0
))
4475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
4480 wxMenuItem_DeleteSubMenu(_arg0
);
4482 _resultobj
= Py_None
;
4486 static PyMethodDef windowscMethods
[] = {
4487 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu
, 1 },
4488 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
4489 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
4490 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
4491 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
4492 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
4493 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
4494 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
4495 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
4496 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
4497 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
4498 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
4499 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
4500 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
4501 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
4502 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop
, 1 },
4503 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop
, 1 },
4504 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel
, 1 },
4505 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString
, 1 },
4506 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel
, 1 },
4507 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString
, 1 },
4508 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop
, 1 },
4509 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
4510 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
4511 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
4512 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
4513 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
4514 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
4515 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
4516 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
4517 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
4518 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
4519 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
4520 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
4521 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
4522 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
4523 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
4524 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
4525 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
4526 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
4527 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
4528 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
4529 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
4530 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
4531 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
4532 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
4533 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
4534 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
4535 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
4536 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
4537 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
4538 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
4539 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
4540 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
4541 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
4542 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
4543 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
4544 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
4545 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
4546 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
4547 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
4548 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
4549 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
4550 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
4551 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
4552 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
4553 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
4554 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
4555 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
4556 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
4557 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
4558 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
4559 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
4560 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
4561 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
4562 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
4563 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
4564 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
4565 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
4566 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
4567 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
4568 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
4569 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
4570 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
4571 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
4572 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
4573 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
4574 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
4575 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
4576 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
4577 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
4578 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
4579 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
4580 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
4581 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
4582 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
4583 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
4584 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
4585 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
4586 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
4587 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
4588 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
4589 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
4590 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
4591 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
4592 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
4593 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
4594 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
4595 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
4596 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
4597 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
4598 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
4599 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
4600 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
4601 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
4602 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
4603 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
4604 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
4605 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
4606 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
4607 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
4608 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
4609 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
4610 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
4611 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
4612 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
4613 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
4614 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
4615 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
4616 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
4617 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
4618 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
4619 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
4620 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
4621 { "wxWindow_GetDefaultItem", _wrap_wxWindow_GetDefaultItem
, 1 },
4622 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
4623 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
4624 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
4625 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
4626 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
4627 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
4628 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
4629 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
4630 { "wxWindow_FindWindowByID", _wrap_wxWindow_FindWindowByID
, 1 },
4631 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
4632 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles
, 1 },
4633 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
4634 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
4635 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
4636 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
4637 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
4638 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
4639 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
4640 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
4641 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
4642 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus
, 1 },
4645 static PyObject
*SWIG_globals
;
4649 SWIGEXPORT(void,initwindowsc
)() {
4651 SWIG_globals
= SWIG_newvarlink();
4652 m
= Py_InitModule("windowsc", windowscMethods
);
4653 d
= PyModule_GetDict(m
);
4655 * These are the pointer type-equivalency mappings.
4656 * (Used by the SWIG pointer type-checker).
4658 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4659 SWIG_RegisterMapping("_signed_long","_long",0);
4660 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4661 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4662 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4663 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4664 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4665 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4666 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4667 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4668 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4669 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4670 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4671 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4672 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4673 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4674 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4675 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4676 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4677 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4678 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4679 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4680 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4681 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4682 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4683 SWIG_RegisterMapping("_long","_wxDash",0);
4684 SWIG_RegisterMapping("_long","_unsigned_long",0);
4685 SWIG_RegisterMapping("_long","_signed_long",0);
4686 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4687 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4688 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4689 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4690 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4691 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4692 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4693 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4694 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4695 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4696 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4697 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4698 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4699 SWIG_RegisterMapping("_uint","_int",0);
4700 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4701 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4702 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4703 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4704 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4705 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4706 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4707 SWIG_RegisterMapping("_EBool","_signed_int",0);
4708 SWIG_RegisterMapping("_EBool","_int",0);
4709 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4710 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4711 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4712 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4713 SWIG_RegisterMapping("_unsigned_long","_long",0);
4714 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4715 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4716 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4717 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4718 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4719 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4720 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4721 SWIG_RegisterMapping("_signed_int","_EBool",0);
4722 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4723 SWIG_RegisterMapping("_signed_int","_int",0);
4724 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4725 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
4726 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4727 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4728 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4729 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4730 SWIG_RegisterMapping("_WXTYPE","_short",0);
4731 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4732 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4733 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4734 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4735 SWIG_RegisterMapping("_unsigned_short","_short",0);
4736 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4737 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4738 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4739 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4740 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4741 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4742 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4743 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4744 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4745 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4746 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4747 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4748 SWIG_RegisterMapping("_signed_short","_short",0);
4749 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4750 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4751 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4752 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4753 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4754 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4755 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4756 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
4757 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4758 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4759 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4760 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4761 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4762 SWIG_RegisterMapping("_unsigned_int","_int",0);
4763 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4764 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4765 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4766 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4767 SWIG_RegisterMapping("_short","_WXTYPE",0);
4768 SWIG_RegisterMapping("_short","_unsigned_short",0);
4769 SWIG_RegisterMapping("_short","_signed_short",0);
4770 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4771 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4772 SWIG_RegisterMapping("_wxWindowID","_int",0);
4773 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4774 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4775 SWIG_RegisterMapping("_int","_EBool",0);
4776 SWIG_RegisterMapping("_int","_uint",0);
4777 SWIG_RegisterMapping("_int","_wxWindowID",0);
4778 SWIG_RegisterMapping("_int","_unsigned_int",0);
4779 SWIG_RegisterMapping("_int","_signed_int",0);
4780 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4781 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4782 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
4783 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4784 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4785 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4786 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4787 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4788 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4789 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4790 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4791 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4792 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4793 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4794 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4795 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4796 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4797 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4798 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4799 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4800 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4801 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4802 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4803 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4804 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4805 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4806 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4807 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4808 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4809 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4810 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4811 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4812 SWIG_RegisterMapping("_wxDash","_long",0);
4813 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4814 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4815 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4816 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4817 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4818 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4819 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4820 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4821 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);