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_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1445 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1446 PyObject
* _resultobj
;
1456 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1465 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1470 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1471 _resultobj
= Py_BuildValue("i",_result
);
1475 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1476 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1477 PyObject
* _resultobj
;
1482 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1485 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1490 wxWindow_Raise(_arg0
);
1492 _resultobj
= Py_None
;
1496 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1497 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1498 PyObject
* _resultobj
;
1501 wxRect
* _arg2
= NULL
;
1507 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1510 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1515 _arg1
= (bool ) tempbool1
;
1517 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1522 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1524 _resultobj
= Py_None
;
1528 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1529 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1530 PyObject
* _resultobj
;
1535 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1538 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1543 wxWindow_ReleaseMouse(_arg0
);
1545 _resultobj
= Py_None
;
1549 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1550 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
) {
1551 PyObject
* _resultobj
;
1557 PyObject
* _obj1
= 0;
1559 PyObject
* _obj2
= 0;
1562 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClientXY",&_argc0
,&_obj1
,&_obj2
))
1565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
1571 temp
= (int) PyInt_AsLong(_obj1
);
1575 temp0
= (int) PyInt_AsLong(_obj2
);
1578 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
1580 _resultobj
= Py_None
;
1583 o
= PyInt_FromLong((long) (*_arg1
));
1584 _resultobj
= t_output_helper(_resultobj
, o
);
1588 o
= PyInt_FromLong((long) (*_arg2
));
1589 _resultobj
= t_output_helper(_resultobj
, o
);
1594 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1595 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1596 PyObject
* _resultobj
;
1600 wxRect
* _arg3
= NULL
;
1605 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1608 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1614 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1619 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1621 _resultobj
= Py_None
;
1625 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
1626 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
1627 PyObject
* _resultobj
;
1629 wxAcceleratorTable
* _arg1
;
1634 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
1637 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
1643 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
1648 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
1650 _resultobj
= Py_None
;
1654 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1655 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1656 PyObject
* _resultobj
;
1663 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1666 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1671 _arg1
= (bool ) tempbool1
;
1672 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1674 _resultobj
= Py_None
;
1678 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1679 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1680 PyObject
* _resultobj
;
1687 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1690 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1696 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1701 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1703 _resultobj
= Py_None
;
1707 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1708 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1709 PyObject
* _resultobj
;
1711 wxLayoutConstraints
* _arg1
;
1716 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1725 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1730 wxWindow_SetConstraints(_arg0
,_arg1
);
1732 _resultobj
= Py_None
;
1736 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1737 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1738 PyObject
* _resultobj
;
1745 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1753 _arg1
= (bool ) tempbool1
;
1754 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1756 _resultobj
= Py_None
;
1760 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1761 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1762 PyObject
* _resultobj
;
1767 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1775 wxWindow_SetFocus(_arg0
);
1777 _resultobj
= Py_None
;
1781 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1782 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1783 PyObject
* _resultobj
;
1790 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1793 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1799 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1804 wxWindow_SetFont(_arg0
,*_arg1
);
1806 _resultobj
= Py_None
;
1810 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1811 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1812 PyObject
* _resultobj
;
1819 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
1828 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
1833 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
1835 _resultobj
= Py_None
;
1839 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1840 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
1841 PyObject
* _resultobj
;
1847 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
1850 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
1855 wxWindow_SetId(_arg0
,_arg1
);
1857 _resultobj
= Py_None
;
1861 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
1862 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
1863 PyObject
* _resultobj
;
1867 PyObject
* _obj1
= 0;
1870 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
1873 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
1879 if (!PyString_Check(_obj1
)) {
1880 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1883 _arg1
= new wxString(PyString_AsString(_obj1
));
1885 wxWindow_SetName(_arg0
,*_arg1
);
1887 _resultobj
= Py_None
;
1895 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1896 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
1897 PyObject
* _resultobj
;
1903 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
1906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
1911 wxWindow_SetReturnCode(_arg0
,_arg1
);
1913 _resultobj
= Py_None
;
1917 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1918 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
1919 PyObject
* _resultobj
;
1930 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
1933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
1938 _arg5
= (bool ) tempbool5
;
1939 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1941 _resultobj
= Py_None
;
1945 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
1946 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
1947 PyObject
* _resultobj
;
1956 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
1964 _arg3
= (bool ) tempbool3
;
1965 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
1967 _resultobj
= Py_None
;
1971 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1972 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
1973 PyObject
* _resultobj
;
1979 int _arg5
= (wxSIZE_AUTO
);
1983 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
1991 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1993 _resultobj
= Py_None
;
1997 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
1998 self
->SetSize(size
.x
, size
.y
);
2000 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
2001 PyObject
* _resultobj
;
2008 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
2011 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2017 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2022 wxWindow_SetSize(_arg0
,*_arg1
);
2024 _resultobj
= Py_None
;
2028 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2029 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2031 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
2032 PyObject
* _resultobj
;
2039 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
2042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2048 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2053 wxWindow_SetPosition(_arg0
,*_arg1
);
2055 _resultobj
= Py_None
;
2059 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2060 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
2061 PyObject
* _resultobj
;
2072 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2075 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2080 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2082 _resultobj
= Py_None
;
2086 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2087 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
) {
2088 PyObject
* _resultobj
;
2095 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSizeWH",&_argc0
,&_arg1
,&_arg2
))
2098 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2103 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2105 _resultobj
= Py_None
;
2109 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2110 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
2111 PyObject
* _resultobj
;
2118 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
2121 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2127 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2132 wxWindow_SetCursor(_arg0
,*_arg1
);
2134 _resultobj
= Py_None
;
2138 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2139 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2140 PyObject
* _resultobj
;
2144 PyObject
* _obj1
= 0;
2147 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2150 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2156 if (!PyString_Check(_obj1
)) {
2157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2160 _arg1
= new wxString(PyString_AsString(_obj1
));
2162 wxWindow_SetTitle(_arg0
,*_arg1
);
2164 _resultobj
= Py_None
;
2172 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2173 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2174 PyObject
* _resultobj
;
2182 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2190 _arg1
= (bool ) tempbool1
;
2191 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2192 _resultobj
= Py_BuildValue("i",_result
);
2196 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2197 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2198 PyObject
* _resultobj
;
2204 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2207 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2212 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2213 _resultobj
= Py_BuildValue("i",_result
);
2217 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2218 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2219 PyObject
* _resultobj
;
2225 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2228 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2233 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2234 _resultobj
= Py_BuildValue("i",_result
);
2238 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2239 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2240 PyObject
* _resultobj
;
2246 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2254 _result
= (bool )wxWindow_Validate(_arg0
);
2255 _resultobj
= Py_BuildValue("i",_result
);
2259 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2260 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2261 PyObject
* _resultobj
;
2268 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2276 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2278 _resultobj
= Py_None
;
2282 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2283 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2284 PyObject
* _resultobj
;
2293 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2296 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2302 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2307 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2308 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2309 _resultobj
= Py_BuildValue("s",_ptemp
);
2313 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2314 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2315 PyObject
* _resultobj
;
2324 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2327 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2333 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2338 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2339 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2340 _resultobj
= Py_BuildValue("s",_ptemp
);
2344 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2345 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2346 PyObject
* _resultobj
;
2355 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2364 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2369 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2370 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2371 _resultobj
= Py_BuildValue("s",_ptemp
);
2375 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2376 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2377 PyObject
* _resultobj
;
2386 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2389 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2395 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
2400 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
2401 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2402 _resultobj
= Py_BuildValue("s",_ptemp
);
2406 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2407 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
) {
2408 PyObject
* _resultobj
;
2412 PyObject
* _obj1
= 0;
2415 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetToolTipString",&_argc0
,&_obj1
))
2418 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
2424 if (!PyString_Check(_obj1
)) {
2425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2428 _arg1
= new wxString(PyString_AsString(_obj1
));
2430 wxWindow_SetToolTipString(_arg0
,*_arg1
);
2432 _resultobj
= Py_None
;
2440 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
2441 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
) {
2442 PyObject
* _resultobj
;
2449 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetToolTip",&_argc0
,&_argc1
))
2452 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
2458 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolTip_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
2463 wxWindow_SetToolTip(_arg0
,_arg1
);
2465 _resultobj
= Py_None
;
2469 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
2470 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
) {
2471 PyObject
* _resultobj
;
2472 wxToolTip
* _result
;
2478 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetToolTip",&_argc0
))
2481 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
2486 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
2487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2488 _resultobj
= Py_BuildValue("s",_ptemp
);
2492 static void *SwigwxPanelTowxWindow(void *ptr
) {
2495 src
= (wxPanel
*) ptr
;
2496 dest
= (wxWindow
*) src
;
2497 return (void *) dest
;
2500 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2503 src
= (wxPanel
*) ptr
;
2504 dest
= (wxEvtHandler
*) src
;
2505 return (void *) dest
;
2508 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2509 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2510 PyObject
* _resultobj
;
2514 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2515 wxSize
* _arg3
= &wxPyDefaultSize
;
2516 long _arg4
= (wxTAB_TRAVERSAL
);
2517 char * _arg5
= "panel";
2524 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2533 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2539 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2544 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2546 _resultobj
= Py_BuildValue("s",_ptemp
);
2550 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2551 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2552 PyObject
* _resultobj
;
2557 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2560 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2565 wxPanel_InitDialog(_arg0
);
2567 _resultobj
= Py_None
;
2571 static void *SwigwxDialogTowxPanel(void *ptr
) {
2574 src
= (wxDialog
*) ptr
;
2575 dest
= (wxPanel
*) src
;
2576 return (void *) dest
;
2579 static void *SwigwxDialogTowxWindow(void *ptr
) {
2582 src
= (wxDialog
*) ptr
;
2583 dest
= (wxWindow
*) src
;
2584 return (void *) dest
;
2587 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2590 src
= (wxDialog
*) ptr
;
2591 dest
= (wxEvtHandler
*) src
;
2592 return (void *) dest
;
2595 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2596 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2597 PyObject
* _resultobj
;
2602 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2603 wxSize
* _arg4
= &wxPyDefaultSize
;
2604 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2605 char * _arg6
= "dialogBox";
2607 PyObject
* _obj2
= 0;
2613 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2622 if (!PyString_Check(_obj2
)) {
2623 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2626 _arg2
= new wxString(PyString_AsString(_obj2
));
2629 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2635 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2640 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2642 _resultobj
= Py_BuildValue("s",_ptemp
);
2650 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2651 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2652 PyObject
* _resultobj
;
2654 int _arg1
= (wxBOTH
);
2658 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2661 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2666 wxDialog_Centre(_arg0
,_arg1
);
2668 _resultobj
= Py_None
;
2672 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2673 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2674 PyObject
* _resultobj
;
2680 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2683 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2688 wxDialog_EndModal(_arg0
,_arg1
);
2690 _resultobj
= Py_None
;
2694 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2695 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2696 PyObject
* _resultobj
;
2702 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2705 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2710 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2712 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2720 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2721 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2722 PyObject
* _resultobj
;
2729 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2737 _arg1
= (bool ) tempbool1
;
2738 wxDialog_Iconize(_arg0
,_arg1
);
2740 _resultobj
= Py_None
;
2744 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2745 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2746 PyObject
* _resultobj
;
2752 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2755 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2760 _result
= (bool )wxDialog_IsIconized(_arg0
);
2761 _resultobj
= Py_BuildValue("i",_result
);
2765 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2766 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2767 PyObject
* _resultobj
;
2774 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2782 _arg1
= (bool ) tempbool1
;
2783 wxDialog_SetModal(_arg0
,_arg1
);
2785 _resultobj
= Py_None
;
2789 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2790 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2791 PyObject
* _resultobj
;
2797 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
2800 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
2805 _result
= (bool )wxDialog_IsModal(_arg0
);
2806 _resultobj
= Py_BuildValue("i",_result
);
2810 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2811 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
2812 PyObject
* _resultobj
;
2816 PyObject
* _obj1
= 0;
2819 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
2822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
2828 if (!PyString_Check(_obj1
)) {
2829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2832 _arg1
= new wxString(PyString_AsString(_obj1
));
2834 wxDialog_SetTitle(_arg0
,*_arg1
);
2836 _resultobj
= Py_None
;
2844 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2845 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
2846 PyObject
* _resultobj
;
2854 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
2857 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
2862 _arg1
= (bool ) tempbool1
;
2863 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
2864 _resultobj
= Py_BuildValue("i",_result
);
2868 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2869 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2870 PyObject
* _resultobj
;
2876 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
2879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
2884 _result
= (int )wxDialog_ShowModal(_arg0
);
2885 _resultobj
= Py_BuildValue("i",_result
);
2889 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
2890 wxScrolledWindow
*src
;
2892 src
= (wxScrolledWindow
*) ptr
;
2893 dest
= (wxWindow
*) src
;
2894 return (void *) dest
;
2897 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
2898 wxScrolledWindow
*src
;
2900 src
= (wxScrolledWindow
*) ptr
;
2901 dest
= (wxEvtHandler
*) src
;
2902 return (void *) dest
;
2905 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2906 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
2907 PyObject
* _resultobj
;
2908 wxScrolledWindow
* _result
;
2910 wxWindowID _arg1
= -1;
2911 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2912 wxSize
* _arg3
= &wxPyDefaultSize
;
2913 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
2914 char * _arg5
= "scrolledWindow";
2921 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2924 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
2930 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
2936 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
2941 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
2943 _resultobj
= Py_BuildValue("s",_ptemp
);
2947 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
2948 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
2949 PyObject
* _resultobj
;
2950 wxScrolledWindow
* _arg0
;
2958 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
2961 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
2966 _arg1
= (bool ) tempbool1
;
2967 _arg2
= (bool ) tempbool2
;
2968 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
2970 _resultobj
= Py_None
;
2974 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
2975 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
2976 PyObject
* _resultobj
;
2977 wxScrolledWindow
* _arg0
;
2991 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
2994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
2999 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
3001 _resultobj
= Py_None
;
3004 o
= PyInt_FromLong((long) (*_arg1
));
3005 _resultobj
= t_output_helper(_resultobj
, o
);
3009 o
= PyInt_FromLong((long) (*_arg2
));
3010 _resultobj
= t_output_helper(_resultobj
, o
);
3015 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3016 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3017 PyObject
* _resultobj
;
3018 wxScrolledWindow
* _arg0
;
3032 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3035 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3040 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3042 _resultobj
= Py_None
;
3045 o
= PyInt_FromLong((long) (*_arg1
));
3046 _resultobj
= t_output_helper(_resultobj
, o
);
3050 o
= PyInt_FromLong((long) (*_arg2
));
3051 _resultobj
= t_output_helper(_resultobj
, o
);
3056 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3057 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3058 PyObject
* _resultobj
;
3060 wxScrolledWindow
* _arg0
;
3064 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3067 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3072 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3073 _resultobj
= Py_BuildValue("i",_result
);
3077 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3078 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3079 PyObject
* _resultobj
;
3080 wxScrolledWindow
* _arg0
;
3086 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3089 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3095 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3100 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3102 _resultobj
= Py_None
;
3106 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3107 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3108 PyObject
* _resultobj
;
3109 wxScrolledWindow
* _arg0
;
3115 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3118 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3123 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3125 _resultobj
= Py_None
;
3129 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3130 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3131 PyObject
* _resultobj
;
3132 wxScrolledWindow
* _arg0
;
3142 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3145 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3150 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3152 _resultobj
= Py_None
;
3156 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3157 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3158 PyObject
* _resultobj
;
3159 wxScrolledWindow
* _arg0
;
3173 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3176 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3181 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3183 _resultobj
= Py_None
;
3186 o
= PyInt_FromLong((long) (*_arg1
));
3187 _resultobj
= t_output_helper(_resultobj
, o
);
3191 o
= PyInt_FromLong((long) (*_arg2
));
3192 _resultobj
= t_output_helper(_resultobj
, o
);
3197 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
3200 src
= (wxMenu
*) ptr
;
3201 dest
= (wxEvtHandler
*) src
;
3202 return (void *) dest
;
3205 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
3206 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
3207 PyObject
* _resultobj
;
3209 wxString
* _arg0
= &wxPyEmptyStr
;
3210 PyObject
* _obj0
= 0;
3214 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
3218 if (!PyString_Check(_obj0
)) {
3219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3222 _arg0
= new wxString(PyString_AsString(_obj0
));
3224 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
3225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3226 _resultobj
= Py_BuildValue("s",_ptemp
);
3234 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3235 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
3236 PyObject
* _resultobj
;
3240 wxString
* _arg3
= &wxPyEmptyStr
;
3243 PyObject
* _obj2
= 0;
3244 PyObject
* _obj3
= 0;
3247 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3250 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3256 if (!PyString_Check(_obj2
)) {
3257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3260 _arg2
= new wxString(PyString_AsString(_obj2
));
3264 if (!PyString_Check(_obj3
)) {
3265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3268 _arg3
= new wxString(PyString_AsString(_obj3
));
3270 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3272 _resultobj
= Py_None
;
3284 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3285 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3286 PyObject
* _resultobj
;
3291 wxString
* _arg4
= &wxPyEmptyStr
;
3293 PyObject
* _obj2
= 0;
3295 PyObject
* _obj4
= 0;
3298 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
3301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3307 if (!PyString_Check(_obj2
)) {
3308 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3311 _arg2
= new wxString(PyString_AsString(_obj2
));
3314 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3321 if (!PyString_Check(_obj4
)) {
3322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3325 _arg4
= new wxString(PyString_AsString(_obj4
));
3327 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
3329 _resultobj
= Py_None
;
3341 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3342 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3343 PyObject
* _resultobj
;
3348 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3351 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3356 wxMenu_AppendSeparator(_arg0
);
3358 _resultobj
= Py_None
;
3362 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3363 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3364 PyObject
* _resultobj
;
3369 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3372 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3377 wxMenu_Break(_arg0
);
3379 _resultobj
= Py_None
;
3383 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3384 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3385 PyObject
* _resultobj
;
3393 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3396 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3401 _arg2
= (bool ) tempbool2
;
3402 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3404 _resultobj
= Py_None
;
3408 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3409 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3410 PyObject
* _resultobj
;
3418 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3426 _arg2
= (bool ) tempbool2
;
3427 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3429 _resultobj
= Py_None
;
3433 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3434 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3435 PyObject
* _resultobj
;
3440 PyObject
* _obj1
= 0;
3443 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3452 if (!PyString_Check(_obj1
)) {
3453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3456 _arg1
= new wxString(PyString_AsString(_obj1
));
3458 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3459 _resultobj
= Py_BuildValue("i",_result
);
3467 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
3468 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
3469 PyObject
* _resultobj
;
3475 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
3478 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
3483 _result
= new wxString (wxMenu_GetTitle(_arg0
));
3485 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3493 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3494 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
3495 PyObject
* _resultobj
;
3499 PyObject
* _obj1
= 0;
3502 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
3505 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
3511 if (!PyString_Check(_obj1
)) {
3512 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3515 _arg1
= new wxString(PyString_AsString(_obj1
));
3517 wxMenu_SetTitle(_arg0
,*_arg1
);
3519 _resultobj
= Py_None
;
3527 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3528 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3529 PyObject
* _resultobj
;
3530 wxMenuItem
* _result
;
3537 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3540 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3545 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3547 _resultobj
= Py_BuildValue("s",_ptemp
);
3551 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3552 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3553 PyObject
* _resultobj
;
3560 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3563 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3568 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3570 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3578 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3579 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3580 PyObject
* _resultobj
;
3587 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3590 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3595 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3597 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3605 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3606 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3607 PyObject
* _resultobj
;
3612 PyObject
* _obj2
= 0;
3615 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3618 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3624 if (!PyString_Check(_obj2
)) {
3625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3628 _arg2
= new wxString(PyString_AsString(_obj2
));
3630 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3632 _resultobj
= Py_None
;
3640 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3641 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3642 PyObject
* _resultobj
;
3649 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3652 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3657 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3658 _resultobj
= Py_BuildValue("i",_result
);
3662 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3663 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3664 PyObject
* _resultobj
;
3671 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3679 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3680 _resultobj
= Py_BuildValue("i",_result
);
3684 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3685 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3686 PyObject
* _resultobj
;
3691 PyObject
* _obj2
= 0;
3694 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3697 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3703 if (!PyString_Check(_obj2
)) {
3704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3707 _arg2
= new wxString(PyString_AsString(_obj2
));
3709 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3711 _resultobj
= Py_None
;
3719 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3722 src
= (wxPyMenu
*) ptr
;
3723 dest
= (wxMenu
*) src
;
3724 return (void *) dest
;
3727 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3730 src
= (wxPyMenu
*) ptr
;
3731 dest
= (wxEvtHandler
*) src
;
3732 return (void *) dest
;
3735 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3736 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3737 PyObject
* _resultobj
;
3739 wxString
* _arg0
= &wxPyEmptyStr
;
3740 PyObject
* _arg1
= NULL
;
3741 PyObject
* _obj0
= 0;
3742 PyObject
* _obj1
= 0;
3746 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3750 if (!PyString_Check(_obj0
)) {
3751 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3754 _arg0
= new wxString(PyString_AsString(_obj0
));
3760 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3762 _resultobj
= Py_BuildValue("s",_ptemp
);
3770 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
3771 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3772 PyObject
* _resultobj
;
3777 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
3780 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
3785 delete_wxPyMenu(_arg0
);
3787 _resultobj
= Py_None
;
3791 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
3794 src
= (wxMenuBar
*) ptr
;
3795 dest
= (wxEvtHandler
*) src
;
3796 return (void *) dest
;
3799 #define new_wxMenuBar() (new wxMenuBar())
3800 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
3801 PyObject
* _resultobj
;
3802 wxMenuBar
* _result
;
3806 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
3808 _result
= (wxMenuBar
*)new_wxMenuBar();
3809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
3810 _resultobj
= Py_BuildValue("s",_ptemp
);
3814 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
3815 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
3816 PyObject
* _resultobj
;
3822 PyObject
* _obj2
= 0;
3825 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
3828 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
3834 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
3840 if (!PyString_Check(_obj2
)) {
3841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3844 _arg2
= new wxString(PyString_AsString(_obj2
));
3846 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
3848 _resultobj
= Py_None
;
3856 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3857 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
3858 PyObject
* _resultobj
;
3866 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
3869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
3874 _arg2
= (bool ) tempbool2
;
3875 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
3877 _resultobj
= Py_None
;
3881 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
3882 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
3883 PyObject
* _resultobj
;
3890 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
3893 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
3898 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
3899 _resultobj
= Py_BuildValue("i",_result
);
3903 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3904 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
3905 PyObject
* _resultobj
;
3913 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
3916 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
3921 _arg2
= (bool ) tempbool2
;
3922 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
3924 _resultobj
= Py_None
;
3928 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
3929 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
3930 PyObject
* _resultobj
;
3937 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
3940 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
3945 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
3946 _resultobj
= Py_BuildValue("i",_result
);
3950 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
3951 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
3952 PyObject
* _resultobj
;
3958 PyObject
* _obj1
= 0;
3959 PyObject
* _obj2
= 0;
3962 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
3965 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
3971 if (!PyString_Check(_obj1
)) {
3972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3975 _arg1
= new wxString(PyString_AsString(_obj1
));
3978 if (!PyString_Check(_obj2
)) {
3979 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3982 _arg2
= new wxString(PyString_AsString(_obj2
));
3984 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
3985 _resultobj
= Py_BuildValue("i",_result
);
3997 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3998 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
3999 PyObject
* _resultobj
;
4000 wxMenuItem
* _result
;
4007 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
4010 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
4015 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
4016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4017 _resultobj
= Py_BuildValue("s",_ptemp
);
4021 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
4022 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
4023 PyObject
* _resultobj
;
4029 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
4032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
4037 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
4038 _resultobj
= Py_BuildValue("i",_result
);
4042 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
4043 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
4044 PyObject
* _resultobj
;
4052 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
4055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
4060 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
4061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4062 _resultobj
= Py_BuildValue("s",_ptemp
);
4066 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
4067 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
4068 PyObject
* _resultobj
;
4074 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
4077 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
4082 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
4083 _resultobj
= Py_BuildValue("i",_result
);
4087 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
4088 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
4089 PyObject
* _resultobj
;
4095 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
4098 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
4103 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
4104 _resultobj
= Py_BuildValue("i",_result
);
4108 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
4109 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
4110 PyObject
* _resultobj
;
4116 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
4119 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
4124 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
4125 _resultobj
= Py_BuildValue("i",_result
);
4129 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
4130 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4131 PyObject
* _resultobj
;
4137 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4145 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4146 _resultobj
= Py_BuildValue("i",_result
);
4150 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4151 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4152 PyObject
* _resultobj
;
4158 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4161 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4166 _result
= (int )wxMenuItem_GetId(_arg0
);
4167 _resultobj
= Py_BuildValue("i",_result
);
4171 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4172 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4173 PyObject
* _resultobj
;
4180 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4183 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4188 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4190 _resultobj
= Py_BuildValue("s",_ptemp
);
4194 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4195 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
4196 PyObject
* _resultobj
;
4200 PyObject
* _obj1
= 0;
4203 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
4206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
4212 if (!PyString_Check(_obj1
)) {
4213 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4216 _arg1
= new wxString(PyString_AsString(_obj1
));
4218 wxMenuItem_SetName(_arg0
,*_arg1
);
4220 _resultobj
= Py_None
;
4228 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
4229 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
4230 PyObject
* _resultobj
;
4236 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
4239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
4244 const wxString
& _result_ref
= wxMenuItem_GetName(_arg0
);
4245 _result
= (wxString
*) &_result_ref
;
4247 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4252 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4253 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4254 PyObject
* _resultobj
;
4260 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4263 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4268 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
4269 _result
= (wxString
*) &_result_ref
;
4271 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4276 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4277 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4278 PyObject
* _resultobj
;
4282 PyObject
* _obj1
= 0;
4285 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
4294 if (!PyString_Check(_obj1
)) {
4295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4298 _arg1
= new wxString(PyString_AsString(_obj1
));
4300 wxMenuItem_SetHelp(_arg0
,*_arg1
);
4302 _resultobj
= Py_None
;
4310 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4311 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
4312 PyObject
* _resultobj
;
4319 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
4322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
4327 _arg1
= (bool ) tempbool1
;
4328 wxMenuItem_Enable(_arg0
,_arg1
);
4330 _resultobj
= Py_None
;
4334 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4335 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
4336 PyObject
* _resultobj
;
4343 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
4346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
4351 _arg1
= (bool ) tempbool1
;
4352 wxMenuItem_Check(_arg0
,_arg1
);
4354 _resultobj
= Py_None
;
4358 static PyMethodDef windowscMethods
[] = {
4359 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
4360 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
4361 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
4362 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
4363 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
4364 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
4365 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
4366 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
4367 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
4368 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
4369 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
4370 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
4371 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
4372 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
4373 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
4374 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
4375 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
4376 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
4377 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
4378 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
4379 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
4380 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
4381 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
4382 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
4383 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
4384 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
4385 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
4386 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
4387 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
4388 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
4389 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
4390 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
4391 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
4392 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
4393 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
4394 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
4395 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
4396 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
4397 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
4398 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
4399 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
4400 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
4401 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
4402 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
4403 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
4404 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
4405 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
4406 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
4407 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
4408 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
4409 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
4410 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
4411 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
4412 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
4413 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
4414 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
4415 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
4416 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
4417 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
4418 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
4419 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
4420 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
4421 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
4422 { "wxWindow_GetToolTip", _wrap_wxWindow_GetToolTip
, 1 },
4423 { "wxWindow_SetToolTip", _wrap_wxWindow_SetToolTip
, 1 },
4424 { "wxWindow_SetToolTipString", _wrap_wxWindow_SetToolTipString
, 1 },
4425 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
4426 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
4427 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
4428 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
4429 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
4430 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
4431 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
4432 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
4433 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
4434 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
4435 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
4436 { "wxWindow_SetClientSizeWH", _wrap_wxWindow_SetClientSizeWH
, 1 },
4437 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
4438 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
4439 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
4440 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
4441 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
4442 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
4443 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
4444 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
4445 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
4446 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
4447 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
4448 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
4449 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
4450 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
4451 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
4452 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
4453 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
4454 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
4455 { "wxWindow_ScreenToClientXY", _wrap_wxWindow_ScreenToClientXY
, 1 },
4456 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
4457 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
4458 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
4459 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
4460 { "wxWindow_MoveXY", _wrap_wxWindow_MoveXY
, 1 },
4461 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
4462 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
4463 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
4464 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
4465 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
4466 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
4467 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
4468 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
4469 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
4470 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
4471 { "wxWindow_GetFullTextExtent", _wrap_wxWindow_GetFullTextExtent
, 1 },
4472 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
4473 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
4474 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
4475 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
4476 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
4477 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
4478 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
4479 { "wxWindow_GetRect", _wrap_wxWindow_GetRect
, 1 },
4480 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
4481 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
4482 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
4483 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
4484 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
4485 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
4486 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
4487 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
4488 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
4489 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
4490 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
4491 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
4492 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
4493 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
4494 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
4495 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
4496 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
4497 { "wxWindow_FindWindowById", _wrap_wxWindow_FindWindowById
, 1 },
4498 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
4499 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
4500 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
4501 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
4502 { "wxWindow_ClientToScreenXY", _wrap_wxWindow_ClientToScreenXY
, 1 },
4503 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
4504 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
4505 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
4506 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
4507 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
4510 static PyObject
*SWIG_globals
;
4514 SWIGEXPORT(void,initwindowsc
)() {
4516 SWIG_globals
= SWIG_newvarlink();
4517 m
= Py_InitModule("windowsc", windowscMethods
);
4518 d
= PyModule_GetDict(m
);
4520 * These are the pointer type-equivalency mappings.
4521 * (Used by the SWIG pointer type-checker).
4523 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4524 SWIG_RegisterMapping("_signed_long","_long",0);
4525 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4526 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4527 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4528 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4529 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4530 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4531 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4532 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4533 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4534 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4535 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4536 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4537 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4538 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4539 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4540 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4541 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4542 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4543 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4544 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
4545 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4546 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4547 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4548 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4549 SWIG_RegisterMapping("_long","_wxDash",0);
4550 SWIG_RegisterMapping("_long","_unsigned_long",0);
4551 SWIG_RegisterMapping("_long","_signed_long",0);
4552 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4553 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4554 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4555 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4556 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4557 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4558 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4559 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4560 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4561 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
4562 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4563 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4564 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4565 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4566 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4567 SWIG_RegisterMapping("_uint","_int",0);
4568 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4569 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4570 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4571 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4572 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4573 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4574 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4575 SWIG_RegisterMapping("_EBool","_signed_int",0);
4576 SWIG_RegisterMapping("_EBool","_int",0);
4577 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4578 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4579 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4580 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4581 SWIG_RegisterMapping("_unsigned_long","_long",0);
4582 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4583 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4584 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4585 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4586 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4587 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4588 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4589 SWIG_RegisterMapping("_signed_int","_EBool",0);
4590 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4591 SWIG_RegisterMapping("_signed_int","_int",0);
4592 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4593 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4594 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4595 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4596 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4597 SWIG_RegisterMapping("_WXTYPE","_short",0);
4598 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4599 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4600 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4601 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4602 SWIG_RegisterMapping("_unsigned_short","_short",0);
4603 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4604 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4605 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4606 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4607 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4608 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4609 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4610 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4611 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4612 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4613 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4614 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4615 SWIG_RegisterMapping("_signed_short","_short",0);
4616 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4617 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4618 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4619 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4620 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4621 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4622 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4623 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4624 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4625 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4626 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4627 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4628 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4629 SWIG_RegisterMapping("_unsigned_int","_int",0);
4630 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4631 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4632 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4633 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4634 SWIG_RegisterMapping("_short","_WXTYPE",0);
4635 SWIG_RegisterMapping("_short","_unsigned_short",0);
4636 SWIG_RegisterMapping("_short","_signed_short",0);
4637 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4638 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4639 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4640 SWIG_RegisterMapping("_wxWindowID","_int",0);
4641 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4642 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4643 SWIG_RegisterMapping("_int","_EBool",0);
4644 SWIG_RegisterMapping("_int","_uint",0);
4645 SWIG_RegisterMapping("_int","_wxWindowID",0);
4646 SWIG_RegisterMapping("_int","_unsigned_int",0);
4647 SWIG_RegisterMapping("_int","_signed_int",0);
4648 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4649 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4650 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4651 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4652 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4653 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4654 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4655 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4656 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4657 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4658 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4659 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4660 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4661 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4662 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4663 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4664 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4665 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4666 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4667 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4668 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4669 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4670 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4671 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4672 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4673 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4674 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4675 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4676 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4677 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4678 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4679 SWIG_RegisterMapping("_wxDash","_long",0);
4680 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4681 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4682 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4683 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4684 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4685 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4686 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4687 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4688 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);