2 * FILE : gtk/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
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
118 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
119 if (PyCallable_Check(func
)) {
120 self
->Connect(id
, lastId
, eventType
,
121 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
122 new wxPyCallback(func
));
125 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
126 PyObject
* _resultobj
;
127 wxEvtHandler
* _arg0
;
133 PyObject
* _obj4
= 0;
136 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
139 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
147 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
149 _resultobj
= Py_None
;
153 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
156 src
= (wxWindow
*) ptr
;
157 dest
= (wxEvtHandler
*) src
;
158 return (void *) dest
;
161 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
162 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
163 PyObject
* _resultobj
;
167 wxPoint
* _arg2
= &wxPyDefaultPosition
;
168 wxSize
* _arg3
= &wxPyDefaultSize
;
170 char * _arg5
= "panel";
177 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
180 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
186 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
192 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
197 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
199 _resultobj
= Py_BuildValue("s",_ptemp
);
203 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
204 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
205 PyObject
* _resultobj
;
210 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
218 wxWindow_CaptureMouse(_arg0
);
220 _resultobj
= Py_None
;
224 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
225 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
226 PyObject
* _resultobj
;
228 int _arg1
= (wxHORIZONTAL
);
232 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
235 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
240 wxWindow_Center(_arg0
,_arg1
);
242 _resultobj
= Py_None
;
246 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
247 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
248 PyObject
* _resultobj
;
250 int _arg1
= (wxHORIZONTAL
);
254 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
257 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
262 wxWindow_Centre(_arg0
,_arg1
);
264 _resultobj
= Py_None
;
268 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
269 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
) {
270 PyObject
* _resultobj
;
276 PyObject
* _obj1
= 0;
278 PyObject
* _obj2
= 0;
281 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreenXY",&_argc0
,&_obj1
,&_obj2
))
284 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
290 temp
= (int) PyInt_AsLong(_obj1
);
294 temp0
= (int) PyInt_AsLong(_obj2
);
297 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
299 _resultobj
= Py_None
;
302 o
= PyInt_FromLong((long) (*_arg1
));
303 _resultobj
= t_output_helper(_resultobj
, o
);
307 o
= PyInt_FromLong((long) (*_arg2
));
308 _resultobj
= t_output_helper(_resultobj
, o
);
313 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
314 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
315 PyObject
* _resultobj
;
322 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
330 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
331 _resultobj
= Py_BuildValue("i",_result
);
335 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
336 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
337 PyObject
* _resultobj
;
343 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
351 _result
= (bool )wxWindow_Destroy(_arg0
);
352 _resultobj
= Py_BuildValue("i",_result
);
356 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
357 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
358 PyObject
* _resultobj
;
363 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
366 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
371 wxWindow_DestroyChildren(_arg0
);
373 _resultobj
= Py_None
;
377 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
378 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
379 PyObject
* _resultobj
;
386 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
389 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
394 _arg1
= (bool ) tempbool1
;
395 wxWindow_Enable(_arg0
,_arg1
);
397 _resultobj
= Py_None
;
401 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
402 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
) {
403 PyObject
* _resultobj
;
411 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowById",&_argc0
,&_arg1
))
414 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
419 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
421 _resultobj
= Py_BuildValue("s",_ptemp
);
425 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
426 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
427 PyObject
* _resultobj
;
432 PyObject
* _obj1
= 0;
436 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
445 if (!PyString_Check(_obj1
)) {
446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
449 _arg1
= new wxString(PyString_AsString(_obj1
));
451 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
461 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
462 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
463 PyObject
* _resultobj
;
468 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
471 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
478 _resultobj
= Py_None
;
482 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
483 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
484 PyObject
* _resultobj
;
491 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
494 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
499 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
500 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
501 _resultobj
= Py_BuildValue("s",_ptemp
);
505 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
506 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
507 PyObject
* _resultobj
;
513 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
521 _result
= (int )wxWindow_GetCharHeight(_arg0
);
522 _resultobj
= Py_BuildValue("i",_result
);
526 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
527 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
528 PyObject
* _resultobj
;
534 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
537 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
542 _result
= (int )wxWindow_GetCharWidth(_arg0
);
543 _resultobj
= Py_BuildValue("i",_result
);
547 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
548 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
549 PyObject
* _resultobj
;
564 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSizeTuple",&_argc0
))
567 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
572 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
574 _resultobj
= Py_None
;
577 o
= PyInt_FromLong((long) (*_arg1
));
578 _resultobj
= t_output_helper(_resultobj
, o
);
582 o
= PyInt_FromLong((long) (*_arg2
));
583 _resultobj
= t_output_helper(_resultobj
, o
);
588 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
589 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
590 PyObject
* _resultobj
;
597 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
600 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
605 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
606 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
607 _resultobj
= Py_BuildValue("s",_ptemp
);
611 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
612 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
613 PyObject
* _resultobj
;
614 wxLayoutConstraints
* _result
;
620 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
623 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
628 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
630 _resultobj
= Py_BuildValue("s",_ptemp
);
634 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
635 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
636 PyObject
* _resultobj
;
643 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
646 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
651 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
652 _result
= (wxFont
*) &_result_ref
;
653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
654 _resultobj
= Py_BuildValue("s",_ptemp
);
658 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
659 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
660 PyObject
* _resultobj
;
667 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
670 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
675 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
676 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
677 _resultobj
= Py_BuildValue("s",_ptemp
);
681 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
682 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
683 PyObject
* _resultobj
;
690 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
693 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
698 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
700 _resultobj
= Py_BuildValue("s",_ptemp
);
704 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
705 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
706 PyObject
* _resultobj
;
712 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
720 _result
= (int )wxWindow_GetId(_arg0
);
721 _resultobj
= Py_BuildValue("i",_result
);
725 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
726 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
727 PyObject
* _resultobj
;
733 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
736 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
741 _result
= new wxString (wxWindow_GetLabel(_arg0
));
743 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
751 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
752 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
753 PyObject
* _resultobj
;
759 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
762 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
767 _result
= new wxString (wxWindow_GetName(_arg0
));
769 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
777 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
778 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
779 PyObject
* _resultobj
;
786 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
794 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
796 _resultobj
= Py_BuildValue("s",_ptemp
);
800 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
801 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
802 PyObject
* _resultobj
;
817 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPositionTuple",&_argc0
))
820 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
825 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
827 _resultobj
= Py_None
;
830 o
= PyInt_FromLong((long) (*_arg1
));
831 _resultobj
= t_output_helper(_resultobj
, o
);
835 o
= PyInt_FromLong((long) (*_arg2
));
836 _resultobj
= t_output_helper(_resultobj
, o
);
841 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
842 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
843 PyObject
* _resultobj
;
850 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
853 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
858 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
859 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
860 _resultobj
= Py_BuildValue("s",_ptemp
);
864 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
865 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
) {
866 PyObject
* _resultobj
;
873 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetRect",&_argc0
))
876 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
881 _result
= new wxRect (wxWindow_GetRect(_arg0
));
882 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
883 _resultobj
= Py_BuildValue("s",_ptemp
);
887 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
888 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
889 PyObject
* _resultobj
;
895 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
898 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
903 _result
= (int )wxWindow_GetReturnCode(_arg0
);
904 _resultobj
= Py_BuildValue("i",_result
);
908 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
909 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
910 PyObject
* _resultobj
;
917 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
925 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
926 _resultobj
= Py_BuildValue("i",_result
);
930 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
931 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
932 PyObject
* _resultobj
;
939 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
947 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
948 _resultobj
= Py_BuildValue("i",_result
);
952 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
953 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
954 PyObject
* _resultobj
;
961 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
964 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
969 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
970 _resultobj
= Py_BuildValue("i",_result
);
974 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
975 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
976 PyObject
* _resultobj
;
991 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
999 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1001 _resultobj
= Py_None
;
1004 o
= PyInt_FromLong((long) (*_arg1
));
1005 _resultobj
= t_output_helper(_resultobj
, o
);
1009 o
= PyInt_FromLong((long) (*_arg2
));
1010 _resultobj
= t_output_helper(_resultobj
, o
);
1015 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1016 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
1017 PyObject
* _resultobj
;
1024 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
1027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1032 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1033 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1034 _resultobj
= Py_BuildValue("s",_ptemp
);
1038 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1039 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1040 PyObject
* _resultobj
;
1048 PyObject
* _obj1
= 0;
1057 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1060 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1066 if (!PyString_Check(_obj1
)) {
1067 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1070 _arg1
= new wxString(PyString_AsString(_obj1
));
1072 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1074 _resultobj
= Py_None
;
1077 o
= PyInt_FromLong((long) (*_arg2
));
1078 _resultobj
= t_output_helper(_resultobj
, o
);
1082 o
= PyInt_FromLong((long) (*_arg3
));
1083 _resultobj
= t_output_helper(_resultobj
, o
);
1092 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1093 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
1094 PyObject
* _resultobj
;
1105 wxFont
* _arg6
= NULL
;
1107 PyObject
* _obj1
= 0;
1123 if(!PyArg_ParseTuple(args
,"sO|s:wxWindow_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
1126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1132 if (!PyString_Check(_obj1
)) {
1133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1136 _arg1
= new wxString(PyString_AsString(_obj1
));
1139 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1144 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1146 _resultobj
= Py_None
;
1149 o
= PyInt_FromLong((long) (*_arg2
));
1150 _resultobj
= t_output_helper(_resultobj
, o
);
1154 o
= PyInt_FromLong((long) (*_arg3
));
1155 _resultobj
= t_output_helper(_resultobj
, o
);
1159 o
= PyInt_FromLong((long) (*_arg4
));
1160 _resultobj
= t_output_helper(_resultobj
, o
);
1164 o
= PyInt_FromLong((long) (*_arg5
));
1165 _resultobj
= t_output_helper(_resultobj
, o
);
1174 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1175 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1176 PyObject
* _resultobj
;
1182 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1190 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1192 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1200 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1201 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1202 PyObject
* _resultobj
;
1208 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1211 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1216 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1217 _resultobj
= Py_BuildValue("l",_result
);
1221 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1222 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1223 PyObject
* _resultobj
;
1228 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1231 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1236 wxWindow_InitDialog(_arg0
);
1238 _resultobj
= Py_None
;
1242 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1243 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1244 PyObject
* _resultobj
;
1250 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1253 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1258 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1259 _resultobj
= Py_BuildValue("i",_result
);
1263 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1264 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1265 PyObject
* _resultobj
;
1271 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1274 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1279 _result
= (bool )wxWindow_IsRetained(_arg0
);
1280 _resultobj
= Py_BuildValue("i",_result
);
1284 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1285 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1286 PyObject
* _resultobj
;
1292 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1295 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1300 _result
= (bool )wxWindow_IsShown(_arg0
);
1301 _resultobj
= Py_BuildValue("i",_result
);
1305 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1306 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1307 PyObject
* _resultobj
;
1312 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1315 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1320 wxWindow_Layout(_arg0
);
1322 _resultobj
= Py_None
;
1326 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1327 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1328 PyObject
* _resultobj
;
1333 wxResourceTable
* _arg3
= NULL
;
1336 PyObject
* _obj2
= 0;
1340 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1343 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1349 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1355 if (!PyString_Check(_obj2
)) {
1356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1359 _arg2
= new wxString(PyString_AsString(_obj2
));
1362 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1367 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1368 _resultobj
= Py_BuildValue("i",_result
);
1376 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1377 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1378 PyObject
* _resultobj
;
1383 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1386 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1391 wxWindow_Lower(_arg0
);
1393 _resultobj
= Py_None
;
1397 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1398 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1399 PyObject
* _resultobj
;
1406 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1409 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1414 _arg1
= (bool ) tempbool1
;
1415 wxWindow_MakeModal(_arg0
,_arg1
);
1417 _resultobj
= Py_None
;
1421 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1422 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
) {
1423 PyObject
* _resultobj
;
1430 if(!PyArg_ParseTuple(args
,"sii:wxWindow_MoveXY",&_argc0
,&_arg1
,&_arg2
))
1433 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1438 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1440 _resultobj
= Py_None
;
1444 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1445 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1446 PyObject
* _resultobj
;
1453 if(!PyArg_ParseTuple(args
,"ss:wxWindow_Move",&_argc0
,&_argc1
))
1456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1462 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
1467 wxWindow_Move(_arg0
,*_arg1
);
1469 _resultobj
= Py_None
;
1473 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1474 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1475 PyObject
* _resultobj
;
1485 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1494 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1499 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1500 _resultobj
= Py_BuildValue("i",_result
);
1504 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1505 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1506 PyObject
* _resultobj
;
1511 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1519 wxWindow_Raise(_arg0
);
1521 _resultobj
= Py_None
;
1525 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1526 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1527 PyObject
* _resultobj
;
1530 wxRect
* _arg2
= NULL
;
1536 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1539 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1544 _arg1
= (bool ) tempbool1
;
1546 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1551 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1553 _resultobj
= Py_None
;
1557 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1558 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1559 PyObject
* _resultobj
;
1564 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1567 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1572 wxWindow_ReleaseMouse(_arg0
);
1574 _resultobj
= Py_None
;
1578 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1579 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
1580 PyObject
* _resultobj
;
1586 PyObject
* _obj1
= 0;
1588 PyObject
* _obj2
= 0;
1591 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
1594 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
1600 temp
= (int) PyInt_AsLong(_obj1
);
1604 temp0
= (int) PyInt_AsLong(_obj2
);
1607 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
1609 _resultobj
= Py_None
;
1612 o
= PyInt_FromLong((long) (*_arg1
));
1613 _resultobj
= t_output_helper(_resultobj
, o
);
1617 o
= PyInt_FromLong((long) (*_arg2
));
1618 _resultobj
= t_output_helper(_resultobj
, o
);
1623 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1624 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1625 PyObject
* _resultobj
;
1629 wxRect
* _arg3
= NULL
;
1634 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1637 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1643 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1648 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1650 _resultobj
= Py_None
;
1654 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
1655 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
1656 PyObject
* _resultobj
;
1658 wxAcceleratorTable
* _arg1
;
1663 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
1666 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
1672 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
1677 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
1679 _resultobj
= Py_None
;
1683 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1684 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1685 PyObject
* _resultobj
;
1692 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1700 _arg1
= (bool ) tempbool1
;
1701 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1703 _resultobj
= Py_None
;
1707 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1708 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1709 PyObject
* _resultobj
;
1716 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1725 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1730 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1732 _resultobj
= Py_None
;
1736 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1737 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1738 PyObject
* _resultobj
;
1740 wxLayoutConstraints
* _arg1
;
1745 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1754 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1759 wxWindow_SetConstraints(_arg0
,_arg1
);
1761 _resultobj
= Py_None
;
1765 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1766 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1767 PyObject
* _resultobj
;
1774 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1782 _arg1
= (bool ) tempbool1
;
1783 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1785 _resultobj
= Py_None
;
1789 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1790 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1791 PyObject
* _resultobj
;
1796 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1799 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1804 wxWindow_SetFocus(_arg0
);
1806 _resultobj
= Py_None
;
1810 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1811 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1812 PyObject
* _resultobj
;
1819 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1828 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1833 wxWindow_SetFont(_arg0
,*_arg1
);
1835 _resultobj
= Py_None
;
1839 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1840 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1841 PyObject
* _resultobj
;
1848 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1851 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
1857 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
1862 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
1864 _resultobj
= Py_None
;
1868 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1869 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
1870 PyObject
* _resultobj
;
1876 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
1879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
1884 wxWindow_SetId(_arg0
,_arg1
);
1886 _resultobj
= Py_None
;
1890 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
1891 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
1892 PyObject
* _resultobj
;
1896 PyObject
* _obj1
= 0;
1899 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
1902 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
1908 if (!PyString_Check(_obj1
)) {
1909 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1912 _arg1
= new wxString(PyString_AsString(_obj1
));
1914 wxWindow_SetName(_arg0
,*_arg1
);
1916 _resultobj
= Py_None
;
1924 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1925 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
1926 PyObject
* _resultobj
;
1932 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
1935 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
1940 wxWindow_SetReturnCode(_arg0
,_arg1
);
1942 _resultobj
= Py_None
;
1946 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1947 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
1948 PyObject
* _resultobj
;
1959 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
1962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
1967 _arg5
= (bool ) tempbool5
;
1968 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1970 _resultobj
= Py_None
;
1974 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
1975 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
1976 PyObject
* _resultobj
;
1985 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
1993 _arg3
= (bool ) tempbool3
;
1994 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
1996 _resultobj
= Py_None
;
2000 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2001 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
2002 PyObject
* _resultobj
;
2008 int _arg5
= (wxSIZE_AUTO
);
2012 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2015 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2020 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2022 _resultobj
= Py_None
;
2026 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2027 self
->SetSize(size
.x
, size
.y
);
2029 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2030 PyObject
* _resultobj
;
2037 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2040 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2046 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2051 wxWindow_SetSize(_arg0
,*_arg1
);
2053 _resultobj
= Py_None
;
2057 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2058 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2060 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2061 PyObject
* _resultobj
;
2068 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2071 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2077 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2082 wxWindow_SetPosition(_arg0
,*_arg1
);
2084 _resultobj
= Py_None
;
2088 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2089 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2090 PyObject
* _resultobj
;
2101 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2109 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2111 _resultobj
= Py_None
;
2115 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2116 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2117 PyObject
* _resultobj
;
2124 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2127 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2132 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2134 _resultobj
= Py_None
;
2138 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2139 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
2140 PyObject
* _resultobj
;
2147 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetClientSize",&_argc0
,&_argc1
))
2150 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2156 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2161 wxWindow_SetClientSize(_arg0
,*_arg1
);
2163 _resultobj
= Py_None
;
2167 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2168 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2169 PyObject
* _resultobj
;
2176 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2179 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2185 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2190 wxWindow_SetCursor(_arg0
,*_arg1
);
2192 _resultobj
= Py_None
;
2196 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2197 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2198 PyObject
* _resultobj
;
2202 PyObject
* _obj1
= 0;
2205 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2208 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2214 if (!PyString_Check(_obj1
)) {
2215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2218 _arg1
= new wxString(PyString_AsString(_obj1
));
2220 wxWindow_SetTitle(_arg0
,*_arg1
);
2222 _resultobj
= Py_None
;
2230 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2231 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2232 PyObject
* _resultobj
;
2240 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2248 _arg1
= (bool ) tempbool1
;
2249 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2250 _resultobj
= Py_BuildValue("i",_result
);
2254 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2255 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2256 PyObject
* _resultobj
;
2262 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2270 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2271 _resultobj
= Py_BuildValue("i",_result
);
2275 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2276 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2277 PyObject
* _resultobj
;
2283 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2286 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2291 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2292 _resultobj
= Py_BuildValue("i",_result
);
2296 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2297 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2298 PyObject
* _resultobj
;
2304 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2307 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2312 _result
= (bool )wxWindow_Validate(_arg0
);
2313 _resultobj
= Py_BuildValue("i",_result
);
2317 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2318 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2319 PyObject
* _resultobj
;
2326 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2329 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2334 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2336 _resultobj
= Py_None
;
2340 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2341 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2342 PyObject
* _resultobj
;
2351 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2354 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2360 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2365 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2366 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2367 _resultobj
= Py_BuildValue("s",_ptemp
);
2371 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2372 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2373 PyObject
* _resultobj
;
2382 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2385 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2391 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2396 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2397 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2398 _resultobj
= Py_BuildValue("s",_ptemp
);
2402 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2403 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2404 PyObject
* _resultobj
;
2413 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2416 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2422 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2427 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2428 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2429 _resultobj
= Py_BuildValue("s",_ptemp
);
2433 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2434 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2435 PyObject
* _resultobj
;
2444 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2447 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2453 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
2458 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
2459 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2460 _resultobj
= Py_BuildValue("s",_ptemp
);
2464 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2465 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
2466 PyObject
* _resultobj
;
2470 PyObject
* _obj1
= 0;
2473 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
2476 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
2482 if (!PyString_Check(_obj1
)) {
2483 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2486 _arg1
= new wxString(PyString_AsString(_obj1
));
2488 wxWindow_SetToolTipString(_arg0
,*_arg1
);
2490 _resultobj
= Py_None
;
2498 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2499 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
2500 PyObject
* _resultobj
;
2507 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
2510 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
2516 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
2521 wxWindow_SetToolTip(_arg0
,_arg1
);
2523 _resultobj
= Py_None
;
2527 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
2528 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
2529 PyObject
* _resultobj
;
2530 wxToolTip
* _result
;
2536 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
2539 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
2544 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
2545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2546 _resultobj
= Py_BuildValue("s",_ptemp
);
2550 static void *SwigwxPanelTowxWindow(void *ptr
) {
2553 src
= (wxPanel
*) ptr
;
2554 dest
= (wxWindow
*) src
;
2555 return (void *) dest
;
2558 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2561 src
= (wxPanel
*) ptr
;
2562 dest
= (wxEvtHandler
*) src
;
2563 return (void *) dest
;
2566 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2567 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2568 PyObject
* _resultobj
;
2572 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2573 wxSize
* _arg3
= &wxPyDefaultSize
;
2574 long _arg4
= (wxTAB_TRAVERSAL
);
2575 char * _arg5
= "panel";
2582 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2585 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2591 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2597 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2602 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2604 _resultobj
= Py_BuildValue("s",_ptemp
);
2608 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2609 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2610 PyObject
* _resultobj
;
2615 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2618 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2623 wxPanel_InitDialog(_arg0
);
2625 _resultobj
= Py_None
;
2629 static void *SwigwxDialogTowxPanel(void *ptr
) {
2632 src
= (wxDialog
*) ptr
;
2633 dest
= (wxPanel
*) src
;
2634 return (void *) dest
;
2637 static void *SwigwxDialogTowxWindow(void *ptr
) {
2640 src
= (wxDialog
*) ptr
;
2641 dest
= (wxWindow
*) src
;
2642 return (void *) dest
;
2645 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2648 src
= (wxDialog
*) ptr
;
2649 dest
= (wxEvtHandler
*) src
;
2650 return (void *) dest
;
2653 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2654 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2655 PyObject
* _resultobj
;
2660 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2661 wxSize
* _arg4
= &wxPyDefaultSize
;
2662 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2663 char * _arg6
= "dialogBox";
2665 PyObject
* _obj2
= 0;
2671 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2680 if (!PyString_Check(_obj2
)) {
2681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2684 _arg2
= new wxString(PyString_AsString(_obj2
));
2687 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2693 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2698 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2700 _resultobj
= Py_BuildValue("s",_ptemp
);
2708 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2709 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2710 PyObject
* _resultobj
;
2712 int _arg1
= (wxBOTH
);
2716 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2724 wxDialog_Centre(_arg0
,_arg1
);
2726 _resultobj
= Py_None
;
2730 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2731 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2732 PyObject
* _resultobj
;
2738 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2741 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2746 wxDialog_EndModal(_arg0
,_arg1
);
2748 _resultobj
= Py_None
;
2752 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2753 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2754 PyObject
* _resultobj
;
2760 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2763 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2768 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2770 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2778 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2779 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2780 PyObject
* _resultobj
;
2787 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2790 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2795 _arg1
= (bool ) tempbool1
;
2796 wxDialog_Iconize(_arg0
,_arg1
);
2798 _resultobj
= Py_None
;
2802 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2803 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2804 PyObject
* _resultobj
;
2810 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2813 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2818 _result
= (bool )wxDialog_IsIconized(_arg0
);
2819 _resultobj
= Py_BuildValue("i",_result
);
2823 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2824 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2825 PyObject
* _resultobj
;
2832 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2835 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2840 _arg1
= (bool ) tempbool1
;
2841 wxDialog_SetModal(_arg0
,_arg1
);
2843 _resultobj
= Py_None
;
2847 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2848 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2849 PyObject
* _resultobj
;
2855 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
2858 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
2863 _result
= (bool )wxDialog_IsModal(_arg0
);
2864 _resultobj
= Py_BuildValue("i",_result
);
2868 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2869 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
2870 PyObject
* _resultobj
;
2874 PyObject
* _obj1
= 0;
2877 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
2880 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
2886 if (!PyString_Check(_obj1
)) {
2887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2890 _arg1
= new wxString(PyString_AsString(_obj1
));
2892 wxDialog_SetTitle(_arg0
,*_arg1
);
2894 _resultobj
= Py_None
;
2902 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2903 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
2904 PyObject
* _resultobj
;
2912 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
2915 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
2920 _arg1
= (bool ) tempbool1
;
2921 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
2922 _resultobj
= Py_BuildValue("i",_result
);
2926 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2927 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2928 PyObject
* _resultobj
;
2934 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
2937 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
2942 _result
= (int )wxDialog_ShowModal(_arg0
);
2943 _resultobj
= Py_BuildValue("i",_result
);
2947 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
2948 wxScrolledWindow
*src
;
2950 src
= (wxScrolledWindow
*) ptr
;
2951 dest
= (wxWindow
*) src
;
2952 return (void *) dest
;
2955 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
2956 wxScrolledWindow
*src
;
2958 src
= (wxScrolledWindow
*) ptr
;
2959 dest
= (wxEvtHandler
*) src
;
2960 return (void *) dest
;
2963 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2964 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
2965 PyObject
* _resultobj
;
2966 wxScrolledWindow
* _result
;
2968 wxWindowID _arg1
= -1;
2969 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2970 wxSize
* _arg3
= &wxPyDefaultSize
;
2971 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
2972 char * _arg5
= "scrolledWindow";
2979 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2982 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
2988 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
2994 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
2999 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3000 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
3001 _resultobj
= Py_BuildValue("s",_ptemp
);
3005 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
3006 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
3007 PyObject
* _resultobj
;
3008 wxScrolledWindow
* _arg0
;
3016 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
3019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
3024 _arg1
= (bool ) tempbool1
;
3025 _arg2
= (bool ) tempbool2
;
3026 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
3028 _resultobj
= Py_None
;
3032 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
3033 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
3034 PyObject
* _resultobj
;
3035 wxScrolledWindow
* _arg0
;
3049 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
3052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
3057 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3059 _resultobj
= Py_None
;
3062 o
= PyInt_FromLong((long) (*_arg1
));
3063 _resultobj
= t_output_helper(_resultobj
, o
);
3067 o
= PyInt_FromLong((long) (*_arg2
));
3068 _resultobj
= t_output_helper(_resultobj
, o
);
3073 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3074 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3075 PyObject
* _resultobj
;
3076 wxScrolledWindow
* _arg0
;
3090 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3093 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3098 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3100 _resultobj
= Py_None
;
3103 o
= PyInt_FromLong((long) (*_arg1
));
3104 _resultobj
= t_output_helper(_resultobj
, o
);
3108 o
= PyInt_FromLong((long) (*_arg2
));
3109 _resultobj
= t_output_helper(_resultobj
, o
);
3114 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3115 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3116 PyObject
* _resultobj
;
3118 wxScrolledWindow
* _arg0
;
3122 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3125 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3130 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3131 _resultobj
= Py_BuildValue("i",_result
);
3135 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3136 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3137 PyObject
* _resultobj
;
3138 wxScrolledWindow
* _arg0
;
3144 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3147 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3153 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3158 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3160 _resultobj
= Py_None
;
3164 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3165 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3166 PyObject
* _resultobj
;
3167 wxScrolledWindow
* _arg0
;
3173 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3176 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3181 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3183 _resultobj
= Py_None
;
3187 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3188 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3189 PyObject
* _resultobj
;
3190 wxScrolledWindow
* _arg0
;
3200 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3203 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3208 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3210 _resultobj
= Py_None
;
3214 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3215 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3216 PyObject
* _resultobj
;
3217 wxScrolledWindow
* _arg0
;
3231 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3239 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3241 _resultobj
= Py_None
;
3244 o
= PyInt_FromLong((long) (*_arg1
));
3245 _resultobj
= t_output_helper(_resultobj
, o
);
3249 o
= PyInt_FromLong((long) (*_arg2
));
3250 _resultobj
= t_output_helper(_resultobj
, o
);
3255 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
3258 src
= (wxMenu
*) ptr
;
3259 dest
= (wxEvtHandler
*) src
;
3260 return (void *) dest
;
3263 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
3264 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
3265 PyObject
* _resultobj
;
3267 wxString
* _arg0
= &wxPyEmptyStr
;
3268 PyObject
* _obj0
= 0;
3272 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
3276 if (!PyString_Check(_obj0
)) {
3277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3280 _arg0
= new wxString(PyString_AsString(_obj0
));
3282 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
3283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3284 _resultobj
= Py_BuildValue("s",_ptemp
);
3292 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3293 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
3294 PyObject
* _resultobj
;
3298 wxString
* _arg3
= &wxPyEmptyStr
;
3301 PyObject
* _obj2
= 0;
3302 PyObject
* _obj3
= 0;
3305 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3308 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3314 if (!PyString_Check(_obj2
)) {
3315 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3318 _arg2
= new wxString(PyString_AsString(_obj2
));
3322 if (!PyString_Check(_obj3
)) {
3323 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3326 _arg3
= new wxString(PyString_AsString(_obj3
));
3328 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3330 _resultobj
= Py_None
;
3342 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3343 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3344 PyObject
* _resultobj
;
3349 wxString
* _arg4
= &wxPyEmptyStr
;
3351 PyObject
* _obj2
= 0;
3353 PyObject
* _obj4
= 0;
3356 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
3359 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3365 if (!PyString_Check(_obj2
)) {
3366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3369 _arg2
= new wxString(PyString_AsString(_obj2
));
3372 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3379 if (!PyString_Check(_obj4
)) {
3380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3383 _arg4
= new wxString(PyString_AsString(_obj4
));
3385 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
3387 _resultobj
= Py_None
;
3399 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3400 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3401 PyObject
* _resultobj
;
3406 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3409 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3414 wxMenu_AppendSeparator(_arg0
);
3416 _resultobj
= Py_None
;
3420 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3421 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3422 PyObject
* _resultobj
;
3427 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3435 wxMenu_Break(_arg0
);
3437 _resultobj
= Py_None
;
3441 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3442 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3443 PyObject
* _resultobj
;
3451 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3454 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3459 _arg2
= (bool ) tempbool2
;
3460 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3462 _resultobj
= Py_None
;
3466 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3467 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3468 PyObject
* _resultobj
;
3476 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3479 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3484 _arg2
= (bool ) tempbool2
;
3485 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3487 _resultobj
= Py_None
;
3491 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3492 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3493 PyObject
* _resultobj
;
3498 PyObject
* _obj1
= 0;
3501 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3504 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3510 if (!PyString_Check(_obj1
)) {
3511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3514 _arg1
= new wxString(PyString_AsString(_obj1
));
3516 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3517 _resultobj
= Py_BuildValue("i",_result
);
3525 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
3526 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
3527 PyObject
* _resultobj
;
3533 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
3536 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
3541 _result
= new wxString (wxMenu_GetTitle(_arg0
));
3543 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3551 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3552 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
3553 PyObject
* _resultobj
;
3557 PyObject
* _obj1
= 0;
3560 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
3563 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
3569 if (!PyString_Check(_obj1
)) {
3570 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3573 _arg1
= new wxString(PyString_AsString(_obj1
));
3575 wxMenu_SetTitle(_arg0
,*_arg1
);
3577 _resultobj
= Py_None
;
3585 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3586 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3587 PyObject
* _resultobj
;
3588 wxMenuItem
* _result
;
3595 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3603 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3605 _resultobj
= Py_BuildValue("s",_ptemp
);
3609 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3610 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3611 PyObject
* _resultobj
;
3618 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3621 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3626 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3628 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3636 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3637 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3638 PyObject
* _resultobj
;
3645 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3648 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3653 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3655 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3663 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3664 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3665 PyObject
* _resultobj
;
3670 PyObject
* _obj2
= 0;
3673 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3676 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3682 if (!PyString_Check(_obj2
)) {
3683 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3686 _arg2
= new wxString(PyString_AsString(_obj2
));
3688 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3690 _resultobj
= Py_None
;
3698 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3699 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3700 PyObject
* _resultobj
;
3707 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3715 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3716 _resultobj
= Py_BuildValue("i",_result
);
3720 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3721 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3722 PyObject
* _resultobj
;
3729 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3737 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3738 _resultobj
= Py_BuildValue("i",_result
);
3742 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3743 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3744 PyObject
* _resultobj
;
3749 PyObject
* _obj2
= 0;
3752 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3755 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3761 if (!PyString_Check(_obj2
)) {
3762 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3765 _arg2
= new wxString(PyString_AsString(_obj2
));
3767 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3769 _resultobj
= Py_None
;
3777 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3780 src
= (wxPyMenu
*) ptr
;
3781 dest
= (wxMenu
*) src
;
3782 return (void *) dest
;
3785 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3788 src
= (wxPyMenu
*) ptr
;
3789 dest
= (wxEvtHandler
*) src
;
3790 return (void *) dest
;
3793 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3794 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3795 PyObject
* _resultobj
;
3797 wxString
* _arg0
= &wxPyEmptyStr
;
3798 PyObject
* _arg1
= NULL
;
3799 PyObject
* _obj0
= 0;
3800 PyObject
* _obj1
= 0;
3804 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3808 if (!PyString_Check(_obj0
)) {
3809 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3812 _arg0
= new wxString(PyString_AsString(_obj0
));
3818 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3820 _resultobj
= Py_BuildValue("s",_ptemp
);
3828 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
3829 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3830 PyObject
* _resultobj
;
3835 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
3838 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
3843 delete_wxPyMenu(_arg0
);
3845 _resultobj
= Py_None
;
3849 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
3852 src
= (wxMenuBar
*) ptr
;
3853 dest
= (wxEvtHandler
*) src
;
3854 return (void *) dest
;
3857 #define new_wxMenuBar() (new wxMenuBar())
3858 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
3859 PyObject
* _resultobj
;
3860 wxMenuBar
* _result
;
3864 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
3866 _result
= (wxMenuBar
*)new_wxMenuBar();
3867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
3868 _resultobj
= Py_BuildValue("s",_ptemp
);
3872 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
3873 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
3874 PyObject
* _resultobj
;
3880 PyObject
* _obj2
= 0;
3883 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
3886 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
3892 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
3898 if (!PyString_Check(_obj2
)) {
3899 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3902 _arg2
= new wxString(PyString_AsString(_obj2
));
3904 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
3906 _resultobj
= Py_None
;
3914 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3915 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
3916 PyObject
* _resultobj
;
3924 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
3927 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
3932 _arg2
= (bool ) tempbool2
;
3933 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
3935 _resultobj
= Py_None
;
3939 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
3940 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
3941 PyObject
* _resultobj
;
3948 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
3951 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
3956 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
3957 _resultobj
= Py_BuildValue("i",_result
);
3961 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3962 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
3963 PyObject
* _resultobj
;
3971 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
3974 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
3979 _arg2
= (bool ) tempbool2
;
3980 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
3982 _resultobj
= Py_None
;
3986 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
3987 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
3988 PyObject
* _resultobj
;
3995 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
3998 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
4003 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
4004 _resultobj
= Py_BuildValue("i",_result
);
4008 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
4009 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
4010 PyObject
* _resultobj
;
4016 PyObject
* _obj1
= 0;
4017 PyObject
* _obj2
= 0;
4020 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
4023 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
4029 if (!PyString_Check(_obj1
)) {
4030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4033 _arg1
= new wxString(PyString_AsString(_obj1
));
4036 if (!PyString_Check(_obj2
)) {
4037 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4040 _arg2
= new wxString(PyString_AsString(_obj2
));
4042 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
4043 _resultobj
= Py_BuildValue("i",_result
);
4055 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4056 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
4057 PyObject
* _resultobj
;
4058 wxMenuItem
* _result
;
4065 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
4068 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
4073 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
4074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4075 _resultobj
= Py_BuildValue("s",_ptemp
);
4079 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4080 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
4081 PyObject
* _resultobj
;
4087 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
4090 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4095 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
4096 _resultobj
= Py_BuildValue("i",_result
);
4100 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4101 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
4102 PyObject
* _resultobj
;
4110 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
4113 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
4118 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
4119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4120 _resultobj
= Py_BuildValue("s",_ptemp
);
4124 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
4125 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
4126 PyObject
* _resultobj
;
4132 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
4135 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
4140 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
4141 _resultobj
= Py_BuildValue("i",_result
);
4145 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
4146 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
4147 PyObject
* _resultobj
;
4153 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
4156 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
4161 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
4162 _resultobj
= Py_BuildValue("i",_result
);
4166 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
4167 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
4168 PyObject
* _resultobj
;
4174 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
4177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
4182 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
4183 _resultobj
= Py_BuildValue("i",_result
);
4187 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
4188 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4189 PyObject
* _resultobj
;
4195 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4203 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4204 _resultobj
= Py_BuildValue("i",_result
);
4208 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4209 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4210 PyObject
* _resultobj
;
4216 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4219 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4224 _result
= (int )wxMenuItem_GetId(_arg0
);
4225 _resultobj
= Py_BuildValue("i",_result
);
4229 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4230 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4231 PyObject
* _resultobj
;
4238 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4246 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4248 _resultobj
= Py_BuildValue("s",_ptemp
);
4252 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4253 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
4254 PyObject
* _resultobj
;
4258 PyObject
* _obj1
= 0;
4261 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
4264 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
4270 if (!PyString_Check(_obj1
)) {
4271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4274 _arg1
= new wxString(PyString_AsString(_obj1
));
4276 wxMenuItem_SetName(_arg0
,*_arg1
);
4278 _resultobj
= Py_None
;
4286 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
4287 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
4288 PyObject
* _resultobj
;
4294 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
4297 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
4302 const wxString
& _result_ref
= wxMenuItem_GetName(_arg0
);
4303 _result
= (wxString
*) &_result_ref
;
4305 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4310 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4311 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4312 PyObject
* _resultobj
;
4318 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4321 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4326 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
4327 _result
= (wxString
*) &_result_ref
;
4329 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4334 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4335 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4336 PyObject
* _resultobj
;
4340 PyObject
* _obj1
= 0;
4343 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
4352 if (!PyString_Check(_obj1
)) {
4353 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4356 _arg1
= new wxString(PyString_AsString(_obj1
));
4358 wxMenuItem_SetHelp(_arg0
,*_arg1
);
4360 _resultobj
= Py_None
;
4368 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4369 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
4370 PyObject
* _resultobj
;
4377 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
4380 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
4385 _arg1
= (bool ) tempbool1
;
4386 wxMenuItem_Enable(_arg0
,_arg1
);
4388 _resultobj
= Py_None
;
4392 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4393 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
4394 PyObject
* _resultobj
;
4401 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
4404 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
4409 _arg1
= (bool ) tempbool1
;
4410 wxMenuItem_Check(_arg0
,_arg1
);
4412 _resultobj
= Py_None
;
4416 static PyMethodDef windowscMethods
[] = {
4417 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
4418 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
4419 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
4420 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
4421 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
4422 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
4423 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
4424 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
4425 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
4426 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
4427 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
4428 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
4429 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
4430 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
4431 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
4432 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
4433 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
4434 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
4435 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
4436 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
4437 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
4438 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
4439 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
4440 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
4441 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
4442 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
4443 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
4444 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
4445 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
4446 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
4447 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
4448 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
4449 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
4450 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
4451 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
4452 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
4453 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
4454 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
4455 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
4456 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
4457 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
4458 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
4459 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
4460 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
4461 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
4462 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
4463 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
4464 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
4465 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
4466 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
4467 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
4468 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
4469 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
4470 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
4471 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
4472 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
4473 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
4474 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
4475 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
4476 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
4477 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
4478 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
4479 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
4480 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
4481 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
4482 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
4483 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
4484 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
4485 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
4486 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
4487 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
4488 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
4489 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
4490 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
4491 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
4492 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
4493 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
4494 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
4495 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
4496 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
4497 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
4498 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
4499 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
4500 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
4501 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
4502 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
4503 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
4504 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
4505 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
4506 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
4507 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
4508 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
4509 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
4510 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
4511 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
4512 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
4513 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
4514 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
4515 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
4516 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
4517 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
4518 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
4519 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
4520 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
4521 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
4522 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
4523 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
4524 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
4525 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
4526 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
4527 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
4528 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
4529 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
4530 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
4531 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
4532 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
4533 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
4534 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
4535 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
4536 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
4537 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
4538 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
4539 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
4540 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
4541 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
4542 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
4543 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
4544 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
4545 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
4546 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
4547 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
4548 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
4549 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
4550 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
4551 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
4552 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
4553 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
4554 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
4555 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
4556 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
4557 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
4558 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
4559 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
4560 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
4561 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
4562 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
4563 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
4564 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
4565 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
4566 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
4567 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
4570 static PyObject
*SWIG_globals
;
4574 SWIGEXPORT(void,initwindowsc
)() {
4576 SWIG_globals
= SWIG_newvarlink();
4577 m
= Py_InitModule("windowsc", windowscMethods
);
4578 d
= PyModule_GetDict(m
);
4580 * These are the pointer type-equivalency mappings.
4581 * (Used by the SWIG pointer type-checker).
4583 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4584 SWIG_RegisterMapping("_signed_long","_long",0);
4585 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4586 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4587 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4588 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4589 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4590 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4591 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4592 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4593 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4594 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4595 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4596 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4597 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4598 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4599 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4600 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4601 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4602 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4603 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4604 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
4605 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4606 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4607 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4608 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4609 SWIG_RegisterMapping("_long","_wxDash",0);
4610 SWIG_RegisterMapping("_long","_unsigned_long",0);
4611 SWIG_RegisterMapping("_long","_signed_long",0);
4612 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4613 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4614 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4615 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4616 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4617 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4618 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4619 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4620 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4621 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
4622 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4623 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4624 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4625 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4626 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4627 SWIG_RegisterMapping("_uint","_int",0);
4628 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4629 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4630 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4631 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4632 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4633 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4634 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4635 SWIG_RegisterMapping("_EBool","_signed_int",0);
4636 SWIG_RegisterMapping("_EBool","_int",0);
4637 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4638 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4639 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4640 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4641 SWIG_RegisterMapping("_unsigned_long","_long",0);
4642 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4643 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4644 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4645 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4646 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4647 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4648 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4649 SWIG_RegisterMapping("_signed_int","_EBool",0);
4650 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4651 SWIG_RegisterMapping("_signed_int","_int",0);
4652 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4653 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4654 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4655 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4656 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4657 SWIG_RegisterMapping("_WXTYPE","_short",0);
4658 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4659 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4660 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4661 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4662 SWIG_RegisterMapping("_unsigned_short","_short",0);
4663 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4664 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4665 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4666 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4667 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4668 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4669 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4670 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4671 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4672 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4673 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4674 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4675 SWIG_RegisterMapping("_signed_short","_short",0);
4676 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4677 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4678 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4679 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4680 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4681 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4682 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4683 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4684 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4685 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4686 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4687 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4688 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4689 SWIG_RegisterMapping("_unsigned_int","_int",0);
4690 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4691 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4692 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4693 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4694 SWIG_RegisterMapping("_short","_WXTYPE",0);
4695 SWIG_RegisterMapping("_short","_unsigned_short",0);
4696 SWIG_RegisterMapping("_short","_signed_short",0);
4697 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4698 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4699 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4700 SWIG_RegisterMapping("_wxWindowID","_int",0);
4701 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4702 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4703 SWIG_RegisterMapping("_int","_EBool",0);
4704 SWIG_RegisterMapping("_int","_uint",0);
4705 SWIG_RegisterMapping("_int","_wxWindowID",0);
4706 SWIG_RegisterMapping("_int","_unsigned_int",0);
4707 SWIG_RegisterMapping("_int","_signed_int",0);
4708 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4709 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4710 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4711 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4712 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4713 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4714 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4715 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4716 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4717 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4718 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4719 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4720 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4721 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4722 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4723 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4724 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4725 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4726 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4727 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4728 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4729 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4730 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4731 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4732 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4733 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4734 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4735 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4736 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4737 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4738 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4739 SWIG_RegisterMapping("_wxDash","_long",0);
4740 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4741 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4742 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4743 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4744 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4745 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4746 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4747 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4748 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);