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"
59 // wxGTK defines wxMenuItem inside menu.h
60 #include <wx/menuitem.h>
64 #include <wx/minifram.h>
67 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyList_Check(target
)) {
78 target
= PyList_New(0);
79 PyList_Append(target
, o2
);
82 PyList_Append(target
,o
);
88 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
94 } else if (target
== Py_None
) {
98 if (!PyTuple_Check(target
)) {
100 target
= PyTuple_New(1);
101 PyTuple_SetItem(target
, 0, o2
);
104 PyTuple_SetItem(o3
, 0, o
);
107 target
= PySequence_Concat(o2
, o3
);
115 extern int* int_LIST_helper(PyObject
* source
);
116 extern long* long_LIST_helper(PyObject
* source
);
117 extern char** string_LIST_helper(PyObject
* source
);
118 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
119 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
120 extern wxString
* wxString_LIST_helper(PyObject
* source
);
121 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
124 static char* wxStringErrorMsg
= "string type is required for parameter";
125 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
126 if (PyCallable_Check(func
)) {
127 self
->Connect(id
, lastId
, eventType
,
128 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
129 new wxPyCallback(func
));
132 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
133 PyObject
* _resultobj
;
134 wxEvtHandler
* _arg0
;
140 PyObject
* _obj4
= 0;
143 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
146 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
154 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
156 _resultobj
= Py_None
;
160 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
163 src
= (wxWindow
*) ptr
;
164 dest
= (wxEvtHandler
*) src
;
165 return (void *) dest
;
168 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
169 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
170 PyObject
* _resultobj
;
174 wxPoint
* _arg2
= &wxPyDefaultPosition
;
175 wxSize
* _arg3
= &wxPyDefaultSize
;
177 char * _arg5
= "panel";
184 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
187 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
193 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
199 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
204 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
206 _resultobj
= Py_BuildValue("s",_ptemp
);
210 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
211 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
212 PyObject
* _resultobj
;
217 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
225 wxWindow_CaptureMouse(_arg0
);
227 _resultobj
= Py_None
;
231 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
232 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
233 PyObject
* _resultobj
;
235 int _arg1
= (wxHORIZONTAL
);
239 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
242 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
247 wxWindow_Center(_arg0
,_arg1
);
249 _resultobj
= Py_None
;
253 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
254 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
255 PyObject
* _resultobj
;
257 int _arg1
= (wxHORIZONTAL
);
261 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
264 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
269 wxWindow_Centre(_arg0
,_arg1
);
271 _resultobj
= Py_None
;
275 #define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
276 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
277 PyObject
* _resultobj
;
283 PyObject
* _obj1
= 0;
285 PyObject
* _obj2
= 0;
288 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreen",&_argc0
,&_obj1
,&_obj2
))
291 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
297 temp
= (int) PyInt_AsLong(_obj1
);
301 temp0
= (int) PyInt_AsLong(_obj2
);
304 wxWindow_ClientToScreen(_arg0
,_arg1
,_arg2
);
306 _resultobj
= Py_None
;
309 o
= PyInt_FromLong((long) (*_arg1
));
310 _resultobj
= t_output_helper(_resultobj
, o
);
314 o
= PyInt_FromLong((long) (*_arg2
));
315 _resultobj
= t_output_helper(_resultobj
, o
);
320 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
321 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
322 PyObject
* _resultobj
;
329 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
332 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
337 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
338 _resultobj
= Py_BuildValue("i",_result
);
342 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
343 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
344 PyObject
* _resultobj
;
350 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
353 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
358 _result
= (bool )wxWindow_Destroy(_arg0
);
359 _resultobj
= Py_BuildValue("i",_result
);
363 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
364 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
365 PyObject
* _resultobj
;
370 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
373 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
378 wxWindow_DestroyChildren(_arg0
);
380 _resultobj
= Py_None
;
384 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
385 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
386 PyObject
* _resultobj
;
393 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
396 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
401 _arg1
= (bool ) tempbool1
;
402 wxWindow_Enable(_arg0
,_arg1
);
404 _resultobj
= Py_None
;
408 #define wxWindow_FindWindowByID(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
409 static PyObject
*_wrap_wxWindow_FindWindowByID(PyObject
*self
, PyObject
*args
) {
410 PyObject
* _resultobj
;
418 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowByID",&_argc0
,&_arg1
))
421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByID. Expected _wxWindow_p.");
426 _result
= (wxWindow
*)wxWindow_FindWindowByID(_arg0
,_arg1
);
427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
428 _resultobj
= Py_BuildValue("s",_ptemp
);
432 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
433 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
434 PyObject
* _resultobj
;
439 PyObject
* _obj1
= 0;
443 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
452 if (!PyString_Check(_obj1
)) {
453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
456 _arg1
= new wxString(PyString_AsString(_obj1
));
458 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
460 _resultobj
= Py_BuildValue("s",_ptemp
);
468 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
469 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
470 PyObject
* _resultobj
;
475 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
478 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
485 _resultobj
= Py_None
;
489 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
490 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
491 PyObject
* _resultobj
;
498 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
501 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
506 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
507 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
508 _resultobj
= Py_BuildValue("s",_ptemp
);
512 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
513 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
514 PyObject
* _resultobj
;
520 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
528 _result
= (int )wxWindow_GetCharHeight(_arg0
);
529 _resultobj
= Py_BuildValue("i",_result
);
533 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
534 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
535 PyObject
* _resultobj
;
541 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
549 _result
= (int )wxWindow_GetCharWidth(_arg0
);
550 _resultobj
= Py_BuildValue("i",_result
);
554 #define wxWindow_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
555 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
556 PyObject
* _resultobj
;
571 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
579 wxWindow_GetClientSize(_arg0
,_arg1
,_arg2
);
581 _resultobj
= Py_None
;
584 o
= PyInt_FromLong((long) (*_arg1
));
585 _resultobj
= t_output_helper(_resultobj
, o
);
589 o
= PyInt_FromLong((long) (*_arg2
));
590 _resultobj
= t_output_helper(_resultobj
, o
);
595 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
596 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
597 PyObject
* _resultobj
;
598 wxLayoutConstraints
* _result
;
604 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
607 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
612 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
614 _resultobj
= Py_BuildValue("s",_ptemp
);
618 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
619 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
620 PyObject
* _resultobj
;
627 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
635 _result
= (wxFont
*)wxWindow_GetFont(_arg0
);
636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
637 _resultobj
= Py_BuildValue("s",_ptemp
);
641 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
642 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
643 PyObject
* _resultobj
;
650 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
653 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
658 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
659 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
660 _resultobj
= Py_BuildValue("s",_ptemp
);
664 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
665 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
666 PyObject
* _resultobj
;
673 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
676 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
681 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
683 _resultobj
= Py_BuildValue("s",_ptemp
);
687 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
688 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
689 PyObject
* _resultobj
;
695 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
698 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
703 _result
= (int )wxWindow_GetId(_arg0
);
704 _resultobj
= Py_BuildValue("i",_result
);
708 #define wxWindow_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
709 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
710 PyObject
* _resultobj
;
725 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
728 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
733 wxWindow_GetPosition(_arg0
,_arg1
,_arg2
);
735 _resultobj
= Py_None
;
738 o
= PyInt_FromLong((long) (*_arg1
));
739 _resultobj
= t_output_helper(_resultobj
, o
);
743 o
= PyInt_FromLong((long) (*_arg2
));
744 _resultobj
= t_output_helper(_resultobj
, o
);
749 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
750 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
751 PyObject
* _resultobj
;
757 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
765 _result
= new wxString (wxWindow_GetLabel(_arg0
));
767 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
775 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
776 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
777 PyObject
* _resultobj
;
783 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
786 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
791 _result
= new wxString (wxWindow_GetName(_arg0
));
793 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
801 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
802 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
803 PyObject
* _resultobj
;
810 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
813 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
818 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
820 _resultobj
= Py_BuildValue("s",_ptemp
);
824 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
825 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
826 PyObject
* _resultobj
;
832 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
835 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
840 _result
= (int )wxWindow_GetReturnCode(_arg0
);
841 _resultobj
= Py_BuildValue("i",_result
);
845 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
846 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
847 PyObject
* _resultobj
;
854 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
857 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
862 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
863 _resultobj
= Py_BuildValue("i",_result
);
867 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
868 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
869 PyObject
* _resultobj
;
876 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
884 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
885 _resultobj
= Py_BuildValue("i",_result
);
889 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
890 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
891 PyObject
* _resultobj
;
898 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
901 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
906 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
907 _resultobj
= Py_BuildValue("i",_result
);
911 #define wxWindow_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
912 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
913 PyObject
* _resultobj
;
928 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
931 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
936 wxWindow_GetSize(_arg0
,_arg1
,_arg2
);
938 _resultobj
= Py_None
;
941 o
= PyInt_FromLong((long) (*_arg1
));
942 _resultobj
= t_output_helper(_resultobj
, o
);
946 o
= PyInt_FromLong((long) (*_arg2
));
947 _resultobj
= t_output_helper(_resultobj
, o
);
952 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
953 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
954 PyObject
* _resultobj
;
962 PyObject
* _obj1
= 0;
971 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
974 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
980 if (!PyString_Check(_obj1
)) {
981 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
984 _arg1
= new wxString(PyString_AsString(_obj1
));
986 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
988 _resultobj
= Py_None
;
991 o
= PyInt_FromLong((long) (*_arg2
));
992 _resultobj
= t_output_helper(_resultobj
, o
);
996 o
= PyInt_FromLong((long) (*_arg3
));
997 _resultobj
= t_output_helper(_resultobj
, o
);
1006 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1007 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1008 PyObject
* _resultobj
;
1014 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1017 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1022 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1024 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1032 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1033 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1034 PyObject
* _resultobj
;
1040 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1043 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1048 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1049 _resultobj
= Py_BuildValue("l",_result
);
1053 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1054 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1055 PyObject
* _resultobj
;
1060 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1068 wxWindow_InitDialog(_arg0
);
1070 _resultobj
= Py_None
;
1074 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1075 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1076 PyObject
* _resultobj
;
1082 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1085 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1090 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1091 _resultobj
= Py_BuildValue("i",_result
);
1095 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1096 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1097 PyObject
* _resultobj
;
1103 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1106 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1111 _result
= (bool )wxWindow_IsRetained(_arg0
);
1112 _resultobj
= Py_BuildValue("i",_result
);
1116 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1117 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1118 PyObject
* _resultobj
;
1124 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1127 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1132 _result
= (bool )wxWindow_IsShown(_arg0
);
1133 _resultobj
= Py_BuildValue("i",_result
);
1137 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1138 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1139 PyObject
* _resultobj
;
1144 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1147 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1152 wxWindow_Layout(_arg0
);
1154 _resultobj
= Py_None
;
1158 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1159 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1160 PyObject
* _resultobj
;
1165 wxResourceTable
* _arg3
= NULL
;
1168 PyObject
* _obj2
= 0;
1172 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1181 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1187 if (!PyString_Check(_obj2
)) {
1188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1191 _arg2
= new wxString(PyString_AsString(_obj2
));
1194 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1199 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1200 _resultobj
= Py_BuildValue("i",_result
);
1208 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1209 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1210 PyObject
* _resultobj
;
1215 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1223 wxWindow_Lower(_arg0
);
1225 _resultobj
= Py_None
;
1229 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1230 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1231 PyObject
* _resultobj
;
1238 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1246 _arg1
= (bool ) tempbool1
;
1247 wxWindow_MakeModal(_arg0
,_arg1
);
1249 _resultobj
= Py_None
;
1253 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1254 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1255 PyObject
* _resultobj
;
1262 if(!PyArg_ParseTuple(args
,"sii:wxWindow_Move",&_argc0
,&_arg1
,&_arg2
))
1265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1270 wxWindow_Move(_arg0
,_arg1
,_arg2
);
1272 _resultobj
= Py_None
;
1276 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1277 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1278 PyObject
* _resultobj
;
1288 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1291 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1297 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1302 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1303 _resultobj
= Py_BuildValue("i",_result
);
1307 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1308 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1309 PyObject
* _resultobj
;
1314 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1317 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1322 wxWindow_Raise(_arg0
);
1324 _resultobj
= Py_None
;
1328 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1329 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1330 PyObject
* _resultobj
;
1333 wxRect
* _arg2
= NULL
;
1339 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1347 _arg1
= (bool ) tempbool1
;
1349 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1354 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1356 _resultobj
= Py_None
;
1360 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1361 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1362 PyObject
* _resultobj
;
1367 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1375 wxWindow_ReleaseMouse(_arg0
);
1377 _resultobj
= Py_None
;
1381 #define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1382 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
1383 PyObject
* _resultobj
;
1389 PyObject
* _obj1
= 0;
1391 PyObject
* _obj2
= 0;
1394 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClient",&_argc0
,&_obj1
,&_obj2
))
1397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
1403 temp
= (int) PyInt_AsLong(_obj1
);
1407 temp0
= (int) PyInt_AsLong(_obj2
);
1410 wxWindow_ScreenToClient(_arg0
,_arg1
,_arg2
);
1412 _resultobj
= Py_None
;
1415 o
= PyInt_FromLong((long) (*_arg1
));
1416 _resultobj
= t_output_helper(_resultobj
, o
);
1420 o
= PyInt_FromLong((long) (*_arg2
));
1421 _resultobj
= t_output_helper(_resultobj
, o
);
1426 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1427 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1428 PyObject
* _resultobj
;
1432 wxRect
* _arg3
= NULL
;
1437 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1446 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1451 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1453 _resultobj
= Py_None
;
1457 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1458 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1459 PyObject
* _resultobj
;
1466 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1469 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1474 _arg1
= (bool ) tempbool1
;
1475 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1477 _resultobj
= Py_None
;
1481 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1482 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1483 PyObject
* _resultobj
;
1490 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1499 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1504 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1506 _resultobj
= Py_None
;
1510 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1511 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1512 PyObject
* _resultobj
;
1514 wxLayoutConstraints
* _arg1
;
1519 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1528 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1533 wxWindow_SetConstraints(_arg0
,_arg1
);
1535 _resultobj
= Py_None
;
1539 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1540 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1541 PyObject
* _resultobj
;
1548 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1556 _arg1
= (bool ) tempbool1
;
1557 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1559 _resultobj
= Py_None
;
1563 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1564 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1565 PyObject
* _resultobj
;
1570 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1573 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1578 wxWindow_SetFocus(_arg0
);
1580 _resultobj
= Py_None
;
1584 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1585 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1586 PyObject
* _resultobj
;
1593 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1602 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1607 wxWindow_SetFont(_arg0
,*_arg1
);
1609 _resultobj
= Py_None
;
1613 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1614 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1615 PyObject
* _resultobj
;
1622 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1625 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
1631 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
1636 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
1638 _resultobj
= Py_None
;
1642 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1643 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
1644 PyObject
* _resultobj
;
1650 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
1653 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
1658 wxWindow_SetId(_arg0
,_arg1
);
1660 _resultobj
= Py_None
;
1664 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
1665 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
1666 PyObject
* _resultobj
;
1670 PyObject
* _obj1
= 0;
1673 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
1676 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
1682 if (!PyString_Check(_obj1
)) {
1683 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1686 _arg1
= new wxString(PyString_AsString(_obj1
));
1688 wxWindow_SetName(_arg0
,*_arg1
);
1690 _resultobj
= Py_None
;
1698 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1699 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
1700 PyObject
* _resultobj
;
1706 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
1709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
1714 wxWindow_SetReturnCode(_arg0
,_arg1
);
1716 _resultobj
= Py_None
;
1720 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1721 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
1722 PyObject
* _resultobj
;
1733 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
1736 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
1741 _arg5
= (bool ) tempbool5
;
1742 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1744 _resultobj
= Py_None
;
1748 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
1749 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
1750 PyObject
* _resultobj
;
1759 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1762 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
1767 _arg3
= (bool ) tempbool3
;
1768 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
1770 _resultobj
= Py_None
;
1774 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1775 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
1776 PyObject
* _resultobj
;
1782 int _arg5
= (wxSIZE_AUTO
);
1786 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
1794 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1796 _resultobj
= Py_None
;
1800 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
1801 self
->SetSize(size
.x
, size
.y
);
1803 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
1804 PyObject
* _resultobj
;
1811 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
1814 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
1820 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
1825 wxWindow_SetSize(_arg0
,*_arg1
);
1827 _resultobj
= Py_None
;
1831 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
1832 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
1834 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
1835 PyObject
* _resultobj
;
1842 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
1845 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
1851 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
1856 wxWindow_SetPosition(_arg0
,*_arg1
);
1858 _resultobj
= Py_None
;
1862 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1863 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
1864 PyObject
* _resultobj
;
1875 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
1883 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1885 _resultobj
= Py_None
;
1889 #define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
1890 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
1891 PyObject
* _resultobj
;
1898 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSize",&_argc0
,&_arg1
,&_arg2
))
1901 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
1906 wxWindow_SetClientSize(_arg0
,_arg1
,_arg2
);
1908 _resultobj
= Py_None
;
1912 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
1913 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
1914 PyObject
* _resultobj
;
1921 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
1924 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
1930 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
1935 wxWindow_SetCursor(_arg0
,*_arg1
);
1937 _resultobj
= Py_None
;
1941 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
1942 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
1943 PyObject
* _resultobj
;
1947 PyObject
* _obj1
= 0;
1950 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
1953 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
1959 if (!PyString_Check(_obj1
)) {
1960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1963 _arg1
= new wxString(PyString_AsString(_obj1
));
1965 wxWindow_SetTitle(_arg0
,*_arg1
);
1967 _resultobj
= Py_None
;
1975 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1976 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
1977 PyObject
* _resultobj
;
1985 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
1988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
1993 _arg1
= (bool ) tempbool1
;
1994 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
1995 _resultobj
= Py_BuildValue("i",_result
);
1999 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2000 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2001 PyObject
* _resultobj
;
2007 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2010 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2015 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2016 _resultobj
= Py_BuildValue("i",_result
);
2020 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2021 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2022 PyObject
* _resultobj
;
2028 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2031 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2036 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2037 _resultobj
= Py_BuildValue("i",_result
);
2041 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2042 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2043 PyObject
* _resultobj
;
2049 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2057 _result
= (bool )wxWindow_Validate(_arg0
);
2058 _resultobj
= Py_BuildValue("i",_result
);
2062 static void *SwigwxPanelTowxWindow(void *ptr
) {
2065 src
= (wxPanel
*) ptr
;
2066 dest
= (wxWindow
*) src
;
2067 return (void *) dest
;
2070 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2073 src
= (wxPanel
*) ptr
;
2074 dest
= (wxEvtHandler
*) src
;
2075 return (void *) dest
;
2078 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2079 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2080 PyObject
* _resultobj
;
2084 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2085 wxSize
* _arg3
= &wxPyDefaultSize
;
2086 long _arg4
= (wxTAB_TRAVERSAL
);
2087 char * _arg5
= "panel";
2094 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2097 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2103 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2109 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2114 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2116 _resultobj
= Py_BuildValue("s",_ptemp
);
2120 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2121 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2122 PyObject
* _resultobj
;
2127 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2130 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2135 wxPanel_InitDialog(_arg0
);
2137 _resultobj
= Py_None
;
2141 static void *SwigwxDialogTowxPanel(void *ptr
) {
2144 src
= (wxDialog
*) ptr
;
2145 dest
= (wxPanel
*) src
;
2146 return (void *) dest
;
2149 static void *SwigwxDialogTowxWindow(void *ptr
) {
2152 src
= (wxDialog
*) ptr
;
2153 dest
= (wxWindow
*) src
;
2154 return (void *) dest
;
2157 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2160 src
= (wxDialog
*) ptr
;
2161 dest
= (wxEvtHandler
*) src
;
2162 return (void *) dest
;
2165 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2166 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2167 PyObject
* _resultobj
;
2172 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2173 wxSize
* _arg4
= &wxPyDefaultSize
;
2174 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2175 char * _arg6
= "dialogBox";
2177 PyObject
* _obj2
= 0;
2183 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2186 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2192 if (!PyString_Check(_obj2
)) {
2193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2196 _arg2
= new wxString(PyString_AsString(_obj2
));
2199 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2205 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2210 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2212 _resultobj
= Py_BuildValue("s",_ptemp
);
2220 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2221 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2222 PyObject
* _resultobj
;
2224 int _arg1
= (wxBOTH
);
2228 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2231 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2236 wxDialog_Centre(_arg0
,_arg1
);
2238 _resultobj
= Py_None
;
2242 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2243 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2244 PyObject
* _resultobj
;
2250 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2253 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2258 wxDialog_EndModal(_arg0
,_arg1
);
2260 _resultobj
= Py_None
;
2264 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2265 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2266 PyObject
* _resultobj
;
2272 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2275 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2280 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2282 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2290 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2291 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2292 PyObject
* _resultobj
;
2299 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2302 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2307 _arg1
= (bool ) tempbool1
;
2308 wxDialog_Iconize(_arg0
,_arg1
);
2310 _resultobj
= Py_None
;
2314 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2315 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2316 PyObject
* _resultobj
;
2322 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2330 _result
= (bool )wxDialog_IsIconized(_arg0
);
2331 _resultobj
= Py_BuildValue("i",_result
);
2335 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2336 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2337 PyObject
* _resultobj
;
2344 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2347 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2352 _arg1
= (bool ) tempbool1
;
2353 wxDialog_SetModal(_arg0
,_arg1
);
2355 _resultobj
= Py_None
;
2359 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2360 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2361 PyObject
* _resultobj
;
2367 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
2370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
2375 _result
= (bool )wxDialog_IsModal(_arg0
);
2376 _resultobj
= Py_BuildValue("i",_result
);
2380 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2381 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
2382 PyObject
* _resultobj
;
2386 PyObject
* _obj1
= 0;
2389 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
2392 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
2398 if (!PyString_Check(_obj1
)) {
2399 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2402 _arg1
= new wxString(PyString_AsString(_obj1
));
2404 wxDialog_SetTitle(_arg0
,*_arg1
);
2406 _resultobj
= Py_None
;
2414 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2415 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
2416 PyObject
* _resultobj
;
2424 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
2427 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
2432 _arg1
= (bool ) tempbool1
;
2433 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
2434 _resultobj
= Py_BuildValue("i",_result
);
2438 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2439 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2440 PyObject
* _resultobj
;
2446 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
2449 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
2454 _result
= (int )wxDialog_ShowModal(_arg0
);
2455 _resultobj
= Py_BuildValue("i",_result
);
2459 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
2460 wxScrolledWindow
*src
;
2462 src
= (wxScrolledWindow
*) ptr
;
2463 dest
= (wxWindow
*) src
;
2464 return (void *) dest
;
2467 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
2468 wxScrolledWindow
*src
;
2470 src
= (wxScrolledWindow
*) ptr
;
2471 dest
= (wxEvtHandler
*) src
;
2472 return (void *) dest
;
2475 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2476 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
2477 PyObject
* _resultobj
;
2478 wxScrolledWindow
* _result
;
2480 wxWindowID _arg1
= -1;
2481 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2482 wxSize
* _arg3
= &wxPyDefaultSize
;
2483 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
2484 char * _arg5
= "scrolledWindow";
2491 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2494 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
2500 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
2506 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
2511 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
2513 _resultobj
= Py_BuildValue("s",_ptemp
);
2517 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
2518 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
2519 PyObject
* _resultobj
;
2520 wxScrolledWindow
* _arg0
;
2528 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
2531 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
2536 _arg1
= (bool ) tempbool1
;
2537 _arg2
= (bool ) tempbool2
;
2538 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
2540 _resultobj
= Py_None
;
2544 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
2545 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
2546 PyObject
* _resultobj
;
2547 wxScrolledWindow
* _arg0
;
2561 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
2564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
2569 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
2571 _resultobj
= Py_None
;
2574 o
= PyInt_FromLong((long) (*_arg1
));
2575 _resultobj
= t_output_helper(_resultobj
, o
);
2579 o
= PyInt_FromLong((long) (*_arg2
));
2580 _resultobj
= t_output_helper(_resultobj
, o
);
2585 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
2586 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
2587 PyObject
* _resultobj
;
2588 wxScrolledWindow
* _arg0
;
2602 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
2605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
2610 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
2612 _resultobj
= Py_None
;
2615 o
= PyInt_FromLong((long) (*_arg1
));
2616 _resultobj
= t_output_helper(_resultobj
, o
);
2620 o
= PyInt_FromLong((long) (*_arg2
));
2621 _resultobj
= t_output_helper(_resultobj
, o
);
2626 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2627 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
2628 PyObject
* _resultobj
;
2630 wxScrolledWindow
* _arg0
;
2634 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
2637 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
2642 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
2643 _resultobj
= Py_BuildValue("i",_result
);
2647 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
2648 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
2649 PyObject
* _resultobj
;
2650 wxScrolledWindow
* _arg0
;
2656 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
2659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
2665 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
2670 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
2672 _resultobj
= Py_None
;
2676 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
2677 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
2678 PyObject
* _resultobj
;
2679 wxScrolledWindow
* _arg0
;
2685 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
2688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
2693 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
2695 _resultobj
= Py_None
;
2699 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2700 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
2701 PyObject
* _resultobj
;
2702 wxScrolledWindow
* _arg0
;
2712 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
2720 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2722 _resultobj
= Py_None
;
2726 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
2727 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
2728 PyObject
* _resultobj
;
2729 wxScrolledWindow
* _arg0
;
2743 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
2746 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
2751 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
2753 _resultobj
= Py_None
;
2756 o
= PyInt_FromLong((long) (*_arg1
));
2757 _resultobj
= t_output_helper(_resultobj
, o
);
2761 o
= PyInt_FromLong((long) (*_arg2
));
2762 _resultobj
= t_output_helper(_resultobj
, o
);
2767 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
2770 src
= (wxMenu
*) ptr
;
2771 dest
= (wxEvtHandler
*) src
;
2772 return (void *) dest
;
2775 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
2776 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
2777 PyObject
* _resultobj
;
2779 wxString
* _arg0
= &wxPyEmptyStr
;
2780 PyObject
* _obj0
= 0;
2784 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
2788 if (!PyString_Check(_obj0
)) {
2789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2792 _arg0
= new wxString(PyString_AsString(_obj0
));
2794 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
2795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
2796 _resultobj
= Py_BuildValue("s",_ptemp
);
2804 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2805 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
2806 PyObject
* _resultobj
;
2810 wxString
* _arg3
= &wxPyEmptyStr
;
2813 PyObject
* _obj2
= 0;
2814 PyObject
* _obj3
= 0;
2817 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
2820 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
2826 if (!PyString_Check(_obj2
)) {
2827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2830 _arg2
= new wxString(PyString_AsString(_obj2
));
2834 if (!PyString_Check(_obj3
)) {
2835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2838 _arg3
= new wxString(PyString_AsString(_obj3
));
2840 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
2842 _resultobj
= Py_None
;
2854 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2855 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
2856 PyObject
* _resultobj
;
2861 wxString
* _arg4
= &wxPyEmptyStr
;
2863 PyObject
* _obj2
= 0;
2865 PyObject
* _obj4
= 0;
2868 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
2871 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
2877 if (!PyString_Check(_obj2
)) {
2878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2881 _arg2
= new wxString(PyString_AsString(_obj2
));
2884 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
2891 if (!PyString_Check(_obj4
)) {
2892 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2895 _arg4
= new wxString(PyString_AsString(_obj4
));
2897 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
2899 _resultobj
= Py_None
;
2911 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
2912 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
2913 PyObject
* _resultobj
;
2918 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
2921 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
2926 wxMenu_AppendSeparator(_arg0
);
2928 _resultobj
= Py_None
;
2932 #define wxMenu_Break(_swigobj) (_swigobj->Break())
2933 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
2934 PyObject
* _resultobj
;
2939 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
2942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
2947 wxMenu_Break(_arg0
);
2949 _resultobj
= Py_None
;
2953 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
2954 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
2955 PyObject
* _resultobj
;
2963 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
2966 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
2971 _arg2
= (bool ) tempbool2
;
2972 wxMenu_Check(_arg0
,_arg1
,_arg2
);
2974 _resultobj
= Py_None
;
2978 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
2979 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
2980 PyObject
* _resultobj
;
2988 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
2991 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
2996 _arg2
= (bool ) tempbool2
;
2997 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
2999 _resultobj
= Py_None
;
3003 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3004 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3005 PyObject
* _resultobj
;
3010 PyObject
* _obj1
= 0;
3013 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3016 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3022 if (!PyString_Check(_obj1
)) {
3023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3026 _arg1
= new wxString(PyString_AsString(_obj1
));
3028 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3029 _resultobj
= Py_BuildValue("i",_result
);
3037 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3038 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3039 PyObject
* _resultobj
;
3040 wxMenuItem
* _result
;
3047 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3050 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3055 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3057 _resultobj
= Py_BuildValue("s",_ptemp
);
3061 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3062 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3063 PyObject
* _resultobj
;
3070 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3078 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3080 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3088 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3089 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3090 PyObject
* _resultobj
;
3097 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3100 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3105 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3107 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3115 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3116 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3117 PyObject
* _resultobj
;
3122 PyObject
* _obj2
= 0;
3125 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3128 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3134 if (!PyString_Check(_obj2
)) {
3135 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3138 _arg2
= new wxString(PyString_AsString(_obj2
));
3140 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3142 _resultobj
= Py_None
;
3150 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3151 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3152 PyObject
* _resultobj
;
3159 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3162 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3167 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3168 _resultobj
= Py_BuildValue("i",_result
);
3172 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3173 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3174 PyObject
* _resultobj
;
3181 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3189 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3190 _resultobj
= Py_BuildValue("i",_result
);
3194 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3195 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3196 PyObject
* _resultobj
;
3201 PyObject
* _obj2
= 0;
3204 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3207 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3213 if (!PyString_Check(_obj2
)) {
3214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3217 _arg2
= new wxString(PyString_AsString(_obj2
));
3219 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3221 _resultobj
= Py_None
;
3229 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3232 src
= (wxPyMenu
*) ptr
;
3233 dest
= (wxMenu
*) src
;
3234 return (void *) dest
;
3237 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3240 src
= (wxPyMenu
*) ptr
;
3241 dest
= (wxEvtHandler
*) src
;
3242 return (void *) dest
;
3245 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3246 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3247 PyObject
* _resultobj
;
3249 wxString
* _arg0
= &wxPyEmptyStr
;
3250 PyObject
* _arg1
= NULL
;
3251 PyObject
* _obj0
= 0;
3252 PyObject
* _obj1
= 0;
3256 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3260 if (!PyString_Check(_obj0
)) {
3261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3264 _arg0
= new wxString(PyString_AsString(_obj0
));
3270 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3272 _resultobj
= Py_BuildValue("s",_ptemp
);
3280 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
3281 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3282 PyObject
* _resultobj
;
3287 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
3290 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
3295 delete_wxPyMenu(_arg0
);
3297 _resultobj
= Py_None
;
3301 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
3304 src
= (wxMenuBar
*) ptr
;
3305 dest
= (wxEvtHandler
*) src
;
3306 return (void *) dest
;
3309 #define new_wxMenuBar() (new wxMenuBar())
3310 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
3311 PyObject
* _resultobj
;
3312 wxMenuBar
* _result
;
3316 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
3318 _result
= (wxMenuBar
*)new_wxMenuBar();
3319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
3320 _resultobj
= Py_BuildValue("s",_ptemp
);
3324 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
3325 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
3326 PyObject
* _resultobj
;
3332 PyObject
* _obj2
= 0;
3335 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
3338 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
3344 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
3350 if (!PyString_Check(_obj2
)) {
3351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3354 _arg2
= new wxString(PyString_AsString(_obj2
));
3356 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
3358 _resultobj
= Py_None
;
3366 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3367 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
3368 PyObject
* _resultobj
;
3376 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
3379 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
3384 _arg2
= (bool ) tempbool2
;
3385 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
3387 _resultobj
= Py_None
;
3391 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
3392 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
3393 PyObject
* _resultobj
;
3400 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
3403 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
3408 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
3409 _resultobj
= Py_BuildValue("i",_result
);
3413 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3414 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
3415 PyObject
* _resultobj
;
3423 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
3426 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
3431 _arg2
= (bool ) tempbool2
;
3432 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
3434 _resultobj
= Py_None
;
3438 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
3439 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
3440 PyObject
* _resultobj
;
3447 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
3450 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
3455 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
3456 _resultobj
= Py_BuildValue("i",_result
);
3460 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
3461 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
3462 PyObject
* _resultobj
;
3468 PyObject
* _obj1
= 0;
3469 PyObject
* _obj2
= 0;
3472 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
3475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
3481 if (!PyString_Check(_obj1
)) {
3482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3485 _arg1
= new wxString(PyString_AsString(_obj1
));
3488 if (!PyString_Check(_obj2
)) {
3489 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3492 _arg2
= new wxString(PyString_AsString(_obj2
));
3494 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
3495 _resultobj
= Py_BuildValue("i",_result
);
3507 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindMenuItemById(_swigarg0))
3508 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
3509 PyObject
* _resultobj
;
3510 wxMenuItem
* _result
;
3517 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
3520 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
3525 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
3526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3527 _resultobj
= Py_BuildValue("s",_ptemp
);
3531 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
3532 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
3533 PyObject
* _resultobj
;
3539 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
3542 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
3547 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
3548 _resultobj
= Py_BuildValue("i",_result
);
3552 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
3553 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
3554 PyObject
* _resultobj
;
3562 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
3565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
3570 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
3571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3572 _resultobj
= Py_BuildValue("s",_ptemp
);
3576 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
3577 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
3578 PyObject
* _resultobj
;
3584 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
3587 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
3592 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
3593 _resultobj
= Py_BuildValue("i",_result
);
3597 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3598 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
3599 PyObject
* _resultobj
;
3605 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
3608 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
3613 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
3614 _resultobj
= Py_BuildValue("i",_result
);
3618 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
3619 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
3620 PyObject
* _resultobj
;
3626 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
3629 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
3634 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
3635 _resultobj
= Py_BuildValue("i",_result
);
3639 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
3640 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
3641 PyObject
* _resultobj
;
3647 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
3650 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
3655 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
3656 _resultobj
= Py_BuildValue("i",_result
);
3660 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
3661 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
3662 PyObject
* _resultobj
;
3668 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
3671 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
3676 _result
= (int )wxMenuItem_GetId(_arg0
);
3677 _resultobj
= Py_BuildValue("i",_result
);
3681 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
3682 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
3683 PyObject
* _resultobj
;
3690 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
3693 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
3698 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
3699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3700 _resultobj
= Py_BuildValue("s",_ptemp
);
3704 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
3705 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
3706 PyObject
* _resultobj
;
3712 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
3715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
3720 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
3721 _result
= (wxString
*) &_result_ref
;
3723 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3728 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
3729 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
3730 PyObject
* _resultobj
;
3734 PyObject
* _obj1
= 0;
3737 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
3740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
3746 if (!PyString_Check(_obj1
)) {
3747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3750 _arg1
= new wxString(PyString_AsString(_obj1
));
3752 wxMenuItem_SetHelp(_arg0
,*_arg1
);
3754 _resultobj
= Py_None
;
3762 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
3763 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
3764 PyObject
* _resultobj
;
3771 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
3774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
3779 _arg1
= (bool ) tempbool1
;
3780 wxMenuItem_Enable(_arg0
,_arg1
);
3782 _resultobj
= Py_None
;
3786 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
3787 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
3788 PyObject
* _resultobj
;
3795 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
3798 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
3803 _arg1
= (bool ) tempbool1
;
3804 wxMenuItem_Check(_arg0
,_arg1
);
3806 _resultobj
= Py_None
;
3810 static PyMethodDef windowscMethods
[] = {
3811 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
3812 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
3813 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
3814 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
3815 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
3816 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
3817 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
3818 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
3819 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
3820 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
3821 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
3822 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
3823 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
3824 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
3825 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
3826 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
3827 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
3828 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
3829 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
3830 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
3831 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
3832 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
3833 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
3834 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
3835 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
3836 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
3837 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
3838 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
3839 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
3840 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
3841 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
3842 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
3843 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
3844 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
3845 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
3846 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
3847 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
3848 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
3849 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
3850 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
3851 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
3852 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
3853 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
3854 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
3855 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
3856 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
3857 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
3858 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
3859 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
3860 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
3861 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
3862 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
3863 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
3864 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
3865 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
3866 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
3867 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
3868 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
3869 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
3870 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
3871 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
3872 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
3873 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
3874 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
3875 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
3876 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
3877 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
3878 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
3879 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
3880 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
3881 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
3882 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
3883 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
3884 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
3885 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
3886 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
3887 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
3888 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
3889 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
3890 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
3891 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
3892 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
3893 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
3894 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
3895 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
3896 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
3897 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
3898 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
3899 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
3900 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
3901 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
3902 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
3903 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
3904 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
3905 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
3906 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
3907 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
3908 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
3909 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
3910 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
3911 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
3912 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
3913 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
3914 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
3915 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
3916 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
3917 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
3918 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
3919 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
3920 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
3921 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
3922 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
3923 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
3924 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
3925 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
3926 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
3927 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
3928 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
3929 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
3930 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
3931 { "wxWindow_FindWindowByID", _wrap_wxWindow_FindWindowByID
, 1 },
3932 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
3933 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
3934 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
3935 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
3936 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
3937 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
3938 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
3939 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
3940 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
3941 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
3944 static PyObject
*SWIG_globals
;
3948 SWIGEXPORT(void,initwindowsc
)() {
3950 SWIG_globals
= SWIG_newvarlink();
3951 m
= Py_InitModule("windowsc", windowscMethods
);
3952 d
= PyModule_GetDict(m
);
3954 * These are the pointer type-equivalency mappings.
3955 * (Used by the SWIG pointer type-checker).
3957 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3958 SWIG_RegisterMapping("_signed_long","_long",0);
3959 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3960 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
3961 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
3962 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
3963 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
3964 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
3965 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
3966 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
3967 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
3968 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
3969 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
3970 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
3971 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
3972 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
3973 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
3974 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3975 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3976 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3977 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3978 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3979 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3980 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3981 SWIG_RegisterMapping("_long","_wxDash",0);
3982 SWIG_RegisterMapping("_long","_unsigned_long",0);
3983 SWIG_RegisterMapping("_long","_signed_long",0);
3984 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3985 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
3986 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3987 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
3988 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
3989 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
3990 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
3991 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
3992 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
3993 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
3994 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
3995 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
3996 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3997 SWIG_RegisterMapping("_uint","_int",0);
3998 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3999 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4000 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4001 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4002 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4003 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4004 SWIG_RegisterMapping("_EBool","_signed_int",0);
4005 SWIG_RegisterMapping("_EBool","_int",0);
4006 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4007 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4008 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4009 SWIG_RegisterMapping("_unsigned_long","_long",0);
4010 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4011 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4012 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4013 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4014 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4015 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4016 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4017 SWIG_RegisterMapping("_signed_int","_EBool",0);
4018 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4019 SWIG_RegisterMapping("_signed_int","_int",0);
4020 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4021 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4022 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4023 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4024 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4025 SWIG_RegisterMapping("_WXTYPE","_short",0);
4026 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4027 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4028 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4029 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4030 SWIG_RegisterMapping("_unsigned_short","_short",0);
4031 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4032 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4033 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4034 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4035 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4036 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4037 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4038 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4039 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4040 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4041 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4042 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4043 SWIG_RegisterMapping("_signed_short","_short",0);
4044 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4045 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4046 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4047 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4048 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4049 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4050 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4051 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4052 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4053 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4054 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4055 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4056 SWIG_RegisterMapping("_unsigned_int","_int",0);
4057 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4058 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4059 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4060 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4061 SWIG_RegisterMapping("_short","_WXTYPE",0);
4062 SWIG_RegisterMapping("_short","_unsigned_short",0);
4063 SWIG_RegisterMapping("_short","_signed_short",0);
4064 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4065 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4066 SWIG_RegisterMapping("_wxWindowID","_int",0);
4067 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4068 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4069 SWIG_RegisterMapping("_int","_EBool",0);
4070 SWIG_RegisterMapping("_int","_uint",0);
4071 SWIG_RegisterMapping("_int","_wxWindowID",0);
4072 SWIG_RegisterMapping("_int","_unsigned_int",0);
4073 SWIG_RegisterMapping("_int","_signed_int",0);
4074 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4075 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4076 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4077 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4078 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4079 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4080 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4081 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4082 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4083 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4084 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4085 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4086 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4087 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4088 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4089 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4090 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4091 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4092 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4093 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4094 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4095 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4096 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4097 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4098 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4099 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4100 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4101 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4102 SWIG_RegisterMapping("_wxDash","_long",0);
4103 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4104 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4105 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4106 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4107 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4108 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4109 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4110 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);