2 * FILE : msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
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
) {
71 } else if (target
== Py_None
) {
75 if (!PyList_Check(target
)) {
77 target
= PyList_New(0);
78 PyList_Append(target
, o2
);
81 PyList_Append(target
,o
);
87 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
93 } else if (target
== Py_None
) {
97 if (!PyTuple_Check(target
)) {
99 target
= PyTuple_New(1);
100 PyTuple_SetItem(target
, 0, o2
);
103 PyTuple_SetItem(o3
, 0, o
);
106 target
= PySequence_Concat(o2
, o3
);
114 extern byte
* byte_LIST_helper(PyObject
* source
);
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";
126 wxWindow
* wxWindow_FindFocus() {
127 return wxWindow::FindFocus();
129 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
) {
130 PyObject
* _resultobj
;
135 if(!PyArg_ParseTuple(args
,":wxWindow_FindFocus"))
137 _result
= (wxWindow
*)wxWindow_FindFocus();
138 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
139 _resultobj
= Py_BuildValue("s",_ptemp
);
143 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
144 if (PyCallable_Check(func
)) {
145 self
->Connect(id
, lastId
, eventType
,
146 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
147 new wxPyCallback(func
));
150 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
151 PyObject
* _resultobj
;
152 wxEvtHandler
* _arg0
;
158 PyObject
* _obj4
= 0;
161 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
164 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
172 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
174 _resultobj
= Py_None
;
178 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
181 src
= (wxWindow
*) ptr
;
182 dest
= (wxEvtHandler
*) src
;
183 return (void *) dest
;
186 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
187 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
188 PyObject
* _resultobj
;
192 wxPoint
* _arg2
= &wxPyDefaultPosition
;
193 wxSize
* _arg3
= &wxPyDefaultSize
;
195 char * _arg5
= "panel";
202 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
211 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
217 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
222 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
224 _resultobj
= Py_BuildValue("s",_ptemp
);
228 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
229 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
230 PyObject
* _resultobj
;
235 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
243 wxWindow_CaptureMouse(_arg0
);
245 _resultobj
= Py_None
;
249 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
250 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
251 PyObject
* _resultobj
;
253 int _arg1
= (wxHORIZONTAL
);
257 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
260 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
265 wxWindow_Center(_arg0
,_arg1
);
267 _resultobj
= Py_None
;
271 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
272 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
273 PyObject
* _resultobj
;
275 int _arg1
= (wxHORIZONTAL
);
279 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
287 wxWindow_Centre(_arg0
,_arg1
);
289 _resultobj
= Py_None
;
293 #define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
294 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
295 PyObject
* _resultobj
;
301 PyObject
* _obj1
= 0;
303 PyObject
* _obj2
= 0;
306 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreen",&_argc0
,&_obj1
,&_obj2
))
309 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
315 temp
= (int) PyInt_AsLong(_obj1
);
319 temp0
= (int) PyInt_AsLong(_obj2
);
322 wxWindow_ClientToScreen(_arg0
,_arg1
,_arg2
);
324 _resultobj
= Py_None
;
327 o
= PyInt_FromLong((long) (*_arg1
));
328 _resultobj
= t_output_helper(_resultobj
, o
);
332 o
= PyInt_FromLong((long) (*_arg2
));
333 _resultobj
= t_output_helper(_resultobj
, o
);
338 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
339 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
340 PyObject
* _resultobj
;
347 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
350 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
355 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
356 _resultobj
= Py_BuildValue("i",_result
);
360 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
361 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
362 PyObject
* _resultobj
;
368 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
376 _result
= (bool )wxWindow_Destroy(_arg0
);
377 _resultobj
= Py_BuildValue("i",_result
);
381 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
382 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
383 PyObject
* _resultobj
;
388 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
391 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
396 wxWindow_DestroyChildren(_arg0
);
398 _resultobj
= Py_None
;
402 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
403 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
) {
404 PyObject
* _resultobj
;
411 if(!PyArg_ParseTuple(args
,"si:wxWindow_DragAcceptFiles",&_argc0
,&tempbool1
))
414 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
419 _arg1
= (bool ) tempbool1
;
420 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
422 _resultobj
= Py_None
;
426 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
427 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
428 PyObject
* _resultobj
;
435 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
443 _arg1
= (bool ) tempbool1
;
444 wxWindow_Enable(_arg0
,_arg1
);
446 _resultobj
= Py_None
;
450 #define wxWindow_FindWindowByID(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
451 static PyObject
*_wrap_wxWindow_FindWindowByID(PyObject
*self
, PyObject
*args
) {
452 PyObject
* _resultobj
;
460 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowByID",&_argc0
,&_arg1
))
463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByID. Expected _wxWindow_p.");
468 _result
= (wxWindow
*)wxWindow_FindWindowByID(_arg0
,_arg1
);
469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
470 _resultobj
= Py_BuildValue("s",_ptemp
);
474 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
475 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
476 PyObject
* _resultobj
;
481 PyObject
* _obj1
= 0;
485 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
494 if (!PyString_Check(_obj1
)) {
495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
498 _arg1
= new wxString(PyString_AsString(_obj1
));
500 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
502 _resultobj
= Py_BuildValue("s",_ptemp
);
510 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
511 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
512 PyObject
* _resultobj
;
517 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
520 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
527 _resultobj
= Py_None
;
531 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
532 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
533 PyObject
* _resultobj
;
540 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
548 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
549 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
550 _resultobj
= Py_BuildValue("s",_ptemp
);
554 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
555 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
556 PyObject
* _resultobj
;
562 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
570 _result
= (int )wxWindow_GetCharHeight(_arg0
);
571 _resultobj
= Py_BuildValue("i",_result
);
575 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
576 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
577 PyObject
* _resultobj
;
583 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
586 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
591 _result
= (int )wxWindow_GetCharWidth(_arg0
);
592 _resultobj
= Py_BuildValue("i",_result
);
596 #define wxWindow_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
597 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
598 PyObject
* _resultobj
;
613 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
621 wxWindow_GetClientSize(_arg0
,_arg1
,_arg2
);
623 _resultobj
= Py_None
;
626 o
= PyInt_FromLong((long) (*_arg1
));
627 _resultobj
= t_output_helper(_resultobj
, o
);
631 o
= PyInt_FromLong((long) (*_arg2
));
632 _resultobj
= t_output_helper(_resultobj
, o
);
637 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
638 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
639 PyObject
* _resultobj
;
640 wxLayoutConstraints
* _result
;
646 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
649 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
654 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
656 _resultobj
= Py_BuildValue("s",_ptemp
);
660 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
661 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
662 PyObject
* _resultobj
;
669 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetDefaultItem",&_argc0
))
672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
677 _result
= (wxButton
*)wxWindow_GetDefaultItem(_arg0
);
678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
679 _resultobj
= Py_BuildValue("s",_ptemp
);
683 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
684 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
685 PyObject
* _resultobj
;
692 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
700 _result
= (wxFont
*)wxWindow_GetFont(_arg0
);
701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
702 _resultobj
= Py_BuildValue("s",_ptemp
);
706 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
707 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
708 PyObject
* _resultobj
;
715 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
723 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
724 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
725 _resultobj
= Py_BuildValue("s",_ptemp
);
729 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
730 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
731 PyObject
* _resultobj
;
738 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
741 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
746 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
747 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
748 _resultobj
= Py_BuildValue("s",_ptemp
);
752 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
753 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
754 PyObject
* _resultobj
;
760 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
763 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
768 _result
= (int )wxWindow_GetId(_arg0
);
769 _resultobj
= Py_BuildValue("i",_result
);
773 #define wxWindow_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
774 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
775 PyObject
* _resultobj
;
790 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
793 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
798 wxWindow_GetPosition(_arg0
,_arg1
,_arg2
);
800 _resultobj
= Py_None
;
803 o
= PyInt_FromLong((long) (*_arg1
));
804 _resultobj
= t_output_helper(_resultobj
, o
);
808 o
= PyInt_FromLong((long) (*_arg2
));
809 _resultobj
= t_output_helper(_resultobj
, o
);
814 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
815 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
816 PyObject
* _resultobj
;
822 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
830 _result
= new wxString (wxWindow_GetLabel(_arg0
));
832 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
840 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
841 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
842 PyObject
* _resultobj
;
848 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
851 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
856 _result
= new wxString (wxWindow_GetName(_arg0
));
858 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
866 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
867 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
868 PyObject
* _resultobj
;
875 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
883 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
885 _resultobj
= Py_BuildValue("s",_ptemp
);
889 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
890 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
891 PyObject
* _resultobj
;
897 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
900 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
905 _result
= (int )wxWindow_GetReturnCode(_arg0
);
906 _resultobj
= Py_BuildValue("i",_result
);
910 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
911 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
912 PyObject
* _resultobj
;
919 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
922 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
927 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
928 _resultobj
= Py_BuildValue("i",_result
);
932 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
933 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
934 PyObject
* _resultobj
;
941 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
944 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
949 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
950 _resultobj
= Py_BuildValue("i",_result
);
954 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
955 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
956 PyObject
* _resultobj
;
963 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
966 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
971 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
972 _resultobj
= Py_BuildValue("i",_result
);
976 #define wxWindow_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
977 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
978 PyObject
* _resultobj
;
993 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
996 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1001 wxWindow_GetSize(_arg0
,_arg1
,_arg2
);
1003 _resultobj
= Py_None
;
1006 o
= PyInt_FromLong((long) (*_arg1
));
1007 _resultobj
= t_output_helper(_resultobj
, o
);
1011 o
= PyInt_FromLong((long) (*_arg2
));
1012 _resultobj
= t_output_helper(_resultobj
, o
);
1017 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1018 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1019 PyObject
* _resultobj
;
1027 PyObject
* _obj1
= 0;
1036 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1039 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1045 if (!PyString_Check(_obj1
)) {
1046 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1049 _arg1
= new wxString(PyString_AsString(_obj1
));
1051 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1053 _resultobj
= Py_None
;
1056 o
= PyInt_FromLong((long) (*_arg2
));
1057 _resultobj
= t_output_helper(_resultobj
, o
);
1061 o
= PyInt_FromLong((long) (*_arg3
));
1062 _resultobj
= t_output_helper(_resultobj
, o
);
1071 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1072 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1073 PyObject
* _resultobj
;
1079 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1082 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1087 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1089 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1097 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1098 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1099 PyObject
* _resultobj
;
1105 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1108 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1113 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1114 _resultobj
= Py_BuildValue("l",_result
);
1118 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1119 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1120 PyObject
* _resultobj
;
1125 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1128 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1133 wxWindow_InitDialog(_arg0
);
1135 _resultobj
= Py_None
;
1139 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1140 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1141 PyObject
* _resultobj
;
1147 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1150 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1155 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1156 _resultobj
= Py_BuildValue("i",_result
);
1160 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1161 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1162 PyObject
* _resultobj
;
1168 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1171 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1176 _result
= (bool )wxWindow_IsRetained(_arg0
);
1177 _resultobj
= Py_BuildValue("i",_result
);
1181 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1182 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1183 PyObject
* _resultobj
;
1189 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1192 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1197 _result
= (bool )wxWindow_IsShown(_arg0
);
1198 _resultobj
= Py_BuildValue("i",_result
);
1202 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1203 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1204 PyObject
* _resultobj
;
1209 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1217 wxWindow_Layout(_arg0
);
1219 _resultobj
= Py_None
;
1223 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1224 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1225 PyObject
* _resultobj
;
1230 wxResourceTable
* _arg3
= NULL
;
1233 PyObject
* _obj2
= 0;
1237 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1240 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1246 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1252 if (!PyString_Check(_obj2
)) {
1253 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1256 _arg2
= new wxString(PyString_AsString(_obj2
));
1259 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1264 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1265 _resultobj
= Py_BuildValue("i",_result
);
1273 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1274 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1275 PyObject
* _resultobj
;
1280 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1288 wxWindow_Lower(_arg0
);
1290 _resultobj
= Py_None
;
1294 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1295 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1296 PyObject
* _resultobj
;
1303 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1311 _arg1
= (bool ) tempbool1
;
1312 wxWindow_MakeModal(_arg0
,_arg1
);
1314 _resultobj
= Py_None
;
1318 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1319 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1320 PyObject
* _resultobj
;
1327 if(!PyArg_ParseTuple(args
,"sii:wxWindow_Move",&_argc0
,&_arg1
,&_arg2
))
1330 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1335 wxWindow_Move(_arg0
,_arg1
,_arg2
);
1337 _resultobj
= Py_None
;
1341 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1342 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1343 PyObject
* _resultobj
;
1353 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1356 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1362 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1367 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1368 _resultobj
= Py_BuildValue("i",_result
);
1372 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1373 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1374 PyObject
* _resultobj
;
1379 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1382 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1387 wxWindow_Raise(_arg0
);
1389 _resultobj
= Py_None
;
1393 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1394 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1395 PyObject
* _resultobj
;
1398 wxRect
* _arg2
= NULL
;
1404 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1407 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1412 _arg1
= (bool ) tempbool1
;
1414 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1419 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1421 _resultobj
= Py_None
;
1425 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1426 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1427 PyObject
* _resultobj
;
1432 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1435 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1440 wxWindow_ReleaseMouse(_arg0
);
1442 _resultobj
= Py_None
;
1446 #define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1447 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
1448 PyObject
* _resultobj
;
1454 PyObject
* _obj1
= 0;
1456 PyObject
* _obj2
= 0;
1459 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClient",&_argc0
,&_obj1
,&_obj2
))
1462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
1468 temp
= (int) PyInt_AsLong(_obj1
);
1472 temp0
= (int) PyInt_AsLong(_obj2
);
1475 wxWindow_ScreenToClient(_arg0
,_arg1
,_arg2
);
1477 _resultobj
= Py_None
;
1480 o
= PyInt_FromLong((long) (*_arg1
));
1481 _resultobj
= t_output_helper(_resultobj
, o
);
1485 o
= PyInt_FromLong((long) (*_arg2
));
1486 _resultobj
= t_output_helper(_resultobj
, o
);
1491 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1492 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1493 PyObject
* _resultobj
;
1497 wxRect
* _arg3
= NULL
;
1502 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1505 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1511 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1516 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1518 _resultobj
= Py_None
;
1522 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1523 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1524 PyObject
* _resultobj
;
1531 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1534 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1539 _arg1
= (bool ) tempbool1
;
1540 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1542 _resultobj
= Py_None
;
1546 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1547 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1548 PyObject
* _resultobj
;
1555 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1558 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1564 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1569 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1571 _resultobj
= Py_None
;
1575 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1576 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1577 PyObject
* _resultobj
;
1579 wxLayoutConstraints
* _arg1
;
1584 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1587 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1593 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1598 wxWindow_SetConstraints(_arg0
,_arg1
);
1600 _resultobj
= Py_None
;
1604 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1605 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1606 PyObject
* _resultobj
;
1613 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1621 _arg1
= (bool ) tempbool1
;
1622 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1624 _resultobj
= Py_None
;
1628 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1629 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1630 PyObject
* _resultobj
;
1635 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1638 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1643 wxWindow_SetFocus(_arg0
);
1645 _resultobj
= Py_None
;
1649 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1650 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1651 PyObject
* _resultobj
;
1658 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1661 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1667 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1672 wxWindow_SetFont(_arg0
,*_arg1
);
1674 _resultobj
= Py_None
;
1678 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1679 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1680 PyObject
* _resultobj
;
1687 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1690 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
1696 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
1701 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
1703 _resultobj
= Py_None
;
1707 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1708 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
1709 PyObject
* _resultobj
;
1715 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
1718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
1723 wxWindow_SetId(_arg0
,_arg1
);
1725 _resultobj
= Py_None
;
1729 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
1730 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
1731 PyObject
* _resultobj
;
1735 PyObject
* _obj1
= 0;
1738 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
1741 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
1747 if (!PyString_Check(_obj1
)) {
1748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1751 _arg1
= new wxString(PyString_AsString(_obj1
));
1753 wxWindow_SetName(_arg0
,*_arg1
);
1755 _resultobj
= Py_None
;
1763 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1764 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
1765 PyObject
* _resultobj
;
1771 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
1774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
1779 wxWindow_SetReturnCode(_arg0
,_arg1
);
1781 _resultobj
= Py_None
;
1785 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1786 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
1787 PyObject
* _resultobj
;
1798 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
1801 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
1806 _arg5
= (bool ) tempbool5
;
1807 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1809 _resultobj
= Py_None
;
1813 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
1814 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
1815 PyObject
* _resultobj
;
1824 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1827 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
1832 _arg3
= (bool ) tempbool3
;
1833 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
1835 _resultobj
= Py_None
;
1839 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1840 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
1841 PyObject
* _resultobj
;
1847 int _arg5
= (wxSIZE_AUTO
);
1851 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
1859 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1861 _resultobj
= Py_None
;
1865 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
1866 self
->SetSize(size
.x
, size
.y
);
1868 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
1869 PyObject
* _resultobj
;
1876 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
1879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
1885 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
1890 wxWindow_SetSize(_arg0
,*_arg1
);
1892 _resultobj
= Py_None
;
1896 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
1897 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
1899 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
1900 PyObject
* _resultobj
;
1907 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
1910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
1916 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
1921 wxWindow_SetPosition(_arg0
,*_arg1
);
1923 _resultobj
= Py_None
;
1927 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1928 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
1929 PyObject
* _resultobj
;
1940 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
1948 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1950 _resultobj
= Py_None
;
1954 #define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
1955 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
1956 PyObject
* _resultobj
;
1963 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSize",&_argc0
,&_arg1
,&_arg2
))
1966 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
1971 wxWindow_SetClientSize(_arg0
,_arg1
,_arg2
);
1973 _resultobj
= Py_None
;
1977 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
1978 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
1979 PyObject
* _resultobj
;
1986 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
1989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
1995 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2000 wxWindow_SetCursor(_arg0
,*_arg1
);
2002 _resultobj
= Py_None
;
2006 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2007 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2008 PyObject
* _resultobj
;
2012 PyObject
* _obj1
= 0;
2015 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2018 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2024 if (!PyString_Check(_obj1
)) {
2025 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2028 _arg1
= new wxString(PyString_AsString(_obj1
));
2030 wxWindow_SetTitle(_arg0
,*_arg1
);
2032 _resultobj
= Py_None
;
2040 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2041 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2042 PyObject
* _resultobj
;
2050 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2058 _arg1
= (bool ) tempbool1
;
2059 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2060 _resultobj
= Py_BuildValue("i",_result
);
2064 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2065 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2066 PyObject
* _resultobj
;
2072 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2075 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2080 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2081 _resultobj
= Py_BuildValue("i",_result
);
2085 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2086 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2087 PyObject
* _resultobj
;
2093 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2096 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2101 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2102 _resultobj
= Py_BuildValue("i",_result
);
2106 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2107 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2108 PyObject
* _resultobj
;
2114 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2117 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2122 _result
= (bool )wxWindow_Validate(_arg0
);
2123 _resultobj
= Py_BuildValue("i",_result
);
2127 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2128 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2129 PyObject
* _resultobj
;
2136 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2139 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2144 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2146 _resultobj
= Py_None
;
2150 static void *SwigwxPanelTowxWindow(void *ptr
) {
2153 src
= (wxPanel
*) ptr
;
2154 dest
= (wxWindow
*) src
;
2155 return (void *) dest
;
2158 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2161 src
= (wxPanel
*) ptr
;
2162 dest
= (wxEvtHandler
*) src
;
2163 return (void *) dest
;
2166 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2167 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2168 PyObject
* _resultobj
;
2172 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2173 wxSize
* _arg3
= &wxPyDefaultSize
;
2174 long _arg4
= (wxTAB_TRAVERSAL
);
2175 char * _arg5
= "panel";
2182 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2191 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2197 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2202 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2204 _resultobj
= Py_BuildValue("s",_ptemp
);
2208 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2209 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2210 PyObject
* _resultobj
;
2215 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2223 wxPanel_InitDialog(_arg0
);
2225 _resultobj
= Py_None
;
2229 static void *SwigwxDialogTowxPanel(void *ptr
) {
2232 src
= (wxDialog
*) ptr
;
2233 dest
= (wxPanel
*) src
;
2234 return (void *) dest
;
2237 static void *SwigwxDialogTowxWindow(void *ptr
) {
2240 src
= (wxDialog
*) ptr
;
2241 dest
= (wxWindow
*) src
;
2242 return (void *) dest
;
2245 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2248 src
= (wxDialog
*) ptr
;
2249 dest
= (wxEvtHandler
*) src
;
2250 return (void *) dest
;
2253 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2254 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2255 PyObject
* _resultobj
;
2260 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2261 wxSize
* _arg4
= &wxPyDefaultSize
;
2262 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2263 char * _arg6
= "dialogBox";
2265 PyObject
* _obj2
= 0;
2271 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2274 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2280 if (!PyString_Check(_obj2
)) {
2281 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2284 _arg2
= new wxString(PyString_AsString(_obj2
));
2287 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2293 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2298 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2300 _resultobj
= Py_BuildValue("s",_ptemp
);
2308 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2309 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2310 PyObject
* _resultobj
;
2312 int _arg1
= (wxBOTH
);
2316 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2319 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2324 wxDialog_Centre(_arg0
,_arg1
);
2326 _resultobj
= Py_None
;
2330 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2331 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2332 PyObject
* _resultobj
;
2338 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2341 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2346 wxDialog_EndModal(_arg0
,_arg1
);
2348 _resultobj
= Py_None
;
2352 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2353 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2354 PyObject
* _resultobj
;
2360 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2363 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2368 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2370 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2378 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2379 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2380 PyObject
* _resultobj
;
2387 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2390 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2395 _arg1
= (bool ) tempbool1
;
2396 wxDialog_Iconize(_arg0
,_arg1
);
2398 _resultobj
= Py_None
;
2402 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2403 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2404 PyObject
* _resultobj
;
2410 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2418 _result
= (bool )wxDialog_IsIconized(_arg0
);
2419 _resultobj
= Py_BuildValue("i",_result
);
2423 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2424 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2425 PyObject
* _resultobj
;
2432 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2435 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2440 _arg1
= (bool ) tempbool1
;
2441 wxDialog_SetModal(_arg0
,_arg1
);
2443 _resultobj
= Py_None
;
2447 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2448 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2449 PyObject
* _resultobj
;
2455 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
2458 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
2463 _result
= (bool )wxDialog_IsModal(_arg0
);
2464 _resultobj
= Py_BuildValue("i",_result
);
2468 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2469 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
2470 PyObject
* _resultobj
;
2474 PyObject
* _obj1
= 0;
2477 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
2480 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
2486 if (!PyString_Check(_obj1
)) {
2487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2490 _arg1
= new wxString(PyString_AsString(_obj1
));
2492 wxDialog_SetTitle(_arg0
,*_arg1
);
2494 _resultobj
= Py_None
;
2502 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2503 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
2504 PyObject
* _resultobj
;
2512 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
2515 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
2520 _arg1
= (bool ) tempbool1
;
2521 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
2522 _resultobj
= Py_BuildValue("i",_result
);
2526 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2527 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2528 PyObject
* _resultobj
;
2534 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
2537 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
2542 _result
= (int )wxDialog_ShowModal(_arg0
);
2543 _resultobj
= Py_BuildValue("i",_result
);
2547 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
2548 wxScrolledWindow
*src
;
2550 src
= (wxScrolledWindow
*) ptr
;
2551 dest
= (wxWindow
*) src
;
2552 return (void *) dest
;
2555 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
2556 wxScrolledWindow
*src
;
2558 src
= (wxScrolledWindow
*) ptr
;
2559 dest
= (wxEvtHandler
*) src
;
2560 return (void *) dest
;
2563 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2564 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
2565 PyObject
* _resultobj
;
2566 wxScrolledWindow
* _result
;
2568 wxWindowID _arg1
= -1;
2569 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2570 wxSize
* _arg3
= &wxPyDefaultSize
;
2571 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
2572 char * _arg5
= "scrolledWindow";
2579 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2582 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
2588 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
2594 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
2599 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2600 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
2601 _resultobj
= Py_BuildValue("s",_ptemp
);
2605 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
2606 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
2607 PyObject
* _resultobj
;
2608 wxScrolledWindow
* _arg0
;
2616 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
2619 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
2624 _arg1
= (bool ) tempbool1
;
2625 _arg2
= (bool ) tempbool2
;
2626 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
2628 _resultobj
= Py_None
;
2632 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
2633 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
2634 PyObject
* _resultobj
;
2635 wxScrolledWindow
* _arg0
;
2649 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
2652 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
2657 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
2659 _resultobj
= Py_None
;
2662 o
= PyInt_FromLong((long) (*_arg1
));
2663 _resultobj
= t_output_helper(_resultobj
, o
);
2667 o
= PyInt_FromLong((long) (*_arg2
));
2668 _resultobj
= t_output_helper(_resultobj
, o
);
2673 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
2674 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
2675 PyObject
* _resultobj
;
2676 wxScrolledWindow
* _arg0
;
2690 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
2693 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
2698 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
2700 _resultobj
= Py_None
;
2703 o
= PyInt_FromLong((long) (*_arg1
));
2704 _resultobj
= t_output_helper(_resultobj
, o
);
2708 o
= PyInt_FromLong((long) (*_arg2
));
2709 _resultobj
= t_output_helper(_resultobj
, o
);
2714 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2715 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
2716 PyObject
* _resultobj
;
2718 wxScrolledWindow
* _arg0
;
2722 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
2725 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
2730 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
2731 _resultobj
= Py_BuildValue("i",_result
);
2735 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
2736 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
2737 PyObject
* _resultobj
;
2738 wxScrolledWindow
* _arg0
;
2744 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
2747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
2753 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
2758 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
2760 _resultobj
= Py_None
;
2764 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
2765 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
2766 PyObject
* _resultobj
;
2767 wxScrolledWindow
* _arg0
;
2773 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
2776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
2781 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
2783 _resultobj
= Py_None
;
2787 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2788 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
2789 PyObject
* _resultobj
;
2790 wxScrolledWindow
* _arg0
;
2800 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
2808 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2810 _resultobj
= Py_None
;
2814 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
2815 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
2816 PyObject
* _resultobj
;
2817 wxScrolledWindow
* _arg0
;
2831 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
2834 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
2839 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
2841 _resultobj
= Py_None
;
2844 o
= PyInt_FromLong((long) (*_arg1
));
2845 _resultobj
= t_output_helper(_resultobj
, o
);
2849 o
= PyInt_FromLong((long) (*_arg2
));
2850 _resultobj
= t_output_helper(_resultobj
, o
);
2855 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
2858 src
= (wxMenu
*) ptr
;
2859 dest
= (wxEvtHandler
*) src
;
2860 return (void *) dest
;
2863 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
2864 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
2865 PyObject
* _resultobj
;
2867 wxString
* _arg0
= &wxPyEmptyStr
;
2868 PyObject
* _obj0
= 0;
2872 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
2876 if (!PyString_Check(_obj0
)) {
2877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2880 _arg0
= new wxString(PyString_AsString(_obj0
));
2882 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
2883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
2884 _resultobj
= Py_BuildValue("s",_ptemp
);
2892 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2893 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
2894 PyObject
* _resultobj
;
2898 wxString
* _arg3
= &wxPyEmptyStr
;
2901 PyObject
* _obj2
= 0;
2902 PyObject
* _obj3
= 0;
2905 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
2908 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
2914 if (!PyString_Check(_obj2
)) {
2915 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2918 _arg2
= new wxString(PyString_AsString(_obj2
));
2922 if (!PyString_Check(_obj3
)) {
2923 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2926 _arg3
= new wxString(PyString_AsString(_obj3
));
2928 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
2930 _resultobj
= Py_None
;
2942 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2943 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
2944 PyObject
* _resultobj
;
2949 wxString
* _arg4
= &wxPyEmptyStr
;
2951 PyObject
* _obj2
= 0;
2953 PyObject
* _obj4
= 0;
2956 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
2959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
2965 if (!PyString_Check(_obj2
)) {
2966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2969 _arg2
= new wxString(PyString_AsString(_obj2
));
2972 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
2979 if (!PyString_Check(_obj4
)) {
2980 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2983 _arg4
= new wxString(PyString_AsString(_obj4
));
2985 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
2987 _resultobj
= Py_None
;
2999 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3000 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3001 PyObject
* _resultobj
;
3006 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3009 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3014 wxMenu_AppendSeparator(_arg0
);
3016 _resultobj
= Py_None
;
3020 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3021 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3022 PyObject
* _resultobj
;
3027 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3030 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3035 wxMenu_Break(_arg0
);
3037 _resultobj
= Py_None
;
3041 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3042 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3043 PyObject
* _resultobj
;
3051 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3054 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3059 _arg2
= (bool ) tempbool2
;
3060 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3062 _resultobj
= Py_None
;
3066 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3067 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3068 PyObject
* _resultobj
;
3076 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3079 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3084 _arg2
= (bool ) tempbool2
;
3085 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3087 _resultobj
= Py_None
;
3091 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3092 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3093 PyObject
* _resultobj
;
3098 PyObject
* _obj1
= 0;
3101 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3110 if (!PyString_Check(_obj1
)) {
3111 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3114 _arg1
= new wxString(PyString_AsString(_obj1
));
3116 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3117 _resultobj
= Py_BuildValue("i",_result
);
3125 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
3126 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
3127 PyObject
* _resultobj
;
3133 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
3136 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
3141 _result
= new wxString (wxMenu_GetTitle(_arg0
));
3143 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3151 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3152 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
3153 PyObject
* _resultobj
;
3157 PyObject
* _obj1
= 0;
3160 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
3163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
3169 if (!PyString_Check(_obj1
)) {
3170 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3173 _arg1
= new wxString(PyString_AsString(_obj1
));
3175 wxMenu_SetTitle(_arg0
,*_arg1
);
3177 _resultobj
= Py_None
;
3185 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3186 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3187 PyObject
* _resultobj
;
3188 wxMenuItem
* _result
;
3195 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3203 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3205 _resultobj
= Py_BuildValue("s",_ptemp
);
3209 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3210 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3211 PyObject
* _resultobj
;
3218 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3221 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3226 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3228 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3236 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3237 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3238 PyObject
* _resultobj
;
3245 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3248 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3253 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3255 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3263 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3264 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3265 PyObject
* _resultobj
;
3270 PyObject
* _obj2
= 0;
3273 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3276 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3282 if (!PyString_Check(_obj2
)) {
3283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3286 _arg2
= new wxString(PyString_AsString(_obj2
));
3288 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3290 _resultobj
= Py_None
;
3298 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3299 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3300 PyObject
* _resultobj
;
3307 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3310 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3315 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3316 _resultobj
= Py_BuildValue("i",_result
);
3320 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3321 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3322 PyObject
* _resultobj
;
3329 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3332 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3337 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3338 _resultobj
= Py_BuildValue("i",_result
);
3342 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3343 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3344 PyObject
* _resultobj
;
3349 PyObject
* _obj2
= 0;
3352 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3355 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3361 if (!PyString_Check(_obj2
)) {
3362 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3365 _arg2
= new wxString(PyString_AsString(_obj2
));
3367 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3369 _resultobj
= Py_None
;
3377 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3380 src
= (wxPyMenu
*) ptr
;
3381 dest
= (wxMenu
*) src
;
3382 return (void *) dest
;
3385 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3388 src
= (wxPyMenu
*) ptr
;
3389 dest
= (wxEvtHandler
*) src
;
3390 return (void *) dest
;
3393 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3394 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3395 PyObject
* _resultobj
;
3397 wxString
* _arg0
= &wxPyEmptyStr
;
3398 PyObject
* _arg1
= NULL
;
3399 PyObject
* _obj0
= 0;
3400 PyObject
* _obj1
= 0;
3404 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3408 if (!PyString_Check(_obj0
)) {
3409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3412 _arg0
= new wxString(PyString_AsString(_obj0
));
3418 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3420 _resultobj
= Py_BuildValue("s",_ptemp
);
3428 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
3429 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3430 PyObject
* _resultobj
;
3435 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
3438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
3443 delete_wxPyMenu(_arg0
);
3445 _resultobj
= Py_None
;
3449 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
3452 src
= (wxMenuBar
*) ptr
;
3453 dest
= (wxEvtHandler
*) src
;
3454 return (void *) dest
;
3457 #define new_wxMenuBar() (new wxMenuBar())
3458 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
3459 PyObject
* _resultobj
;
3460 wxMenuBar
* _result
;
3464 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
3466 _result
= (wxMenuBar
*)new_wxMenuBar();
3467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
3468 _resultobj
= Py_BuildValue("s",_ptemp
);
3472 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
3473 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
3474 PyObject
* _resultobj
;
3480 PyObject
* _obj2
= 0;
3483 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
3486 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
3492 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
3498 if (!PyString_Check(_obj2
)) {
3499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3502 _arg2
= new wxString(PyString_AsString(_obj2
));
3504 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
3506 _resultobj
= Py_None
;
3514 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3515 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
3516 PyObject
* _resultobj
;
3524 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
3527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
3532 _arg2
= (bool ) tempbool2
;
3533 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
3535 _resultobj
= Py_None
;
3539 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
3540 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
3541 PyObject
* _resultobj
;
3548 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
3551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
3556 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
3557 _resultobj
= Py_BuildValue("i",_result
);
3561 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3562 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
3563 PyObject
* _resultobj
;
3571 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
3574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
3579 _arg2
= (bool ) tempbool2
;
3580 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
3582 _resultobj
= Py_None
;
3586 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
3587 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
3588 PyObject
* _resultobj
;
3595 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
3598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
3603 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
3604 _resultobj
= Py_BuildValue("i",_result
);
3608 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
3609 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
3610 PyObject
* _resultobj
;
3616 PyObject
* _obj1
= 0;
3617 PyObject
* _obj2
= 0;
3620 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
3623 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
3629 if (!PyString_Check(_obj1
)) {
3630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3633 _arg1
= new wxString(PyString_AsString(_obj1
));
3636 if (!PyString_Check(_obj2
)) {
3637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3640 _arg2
= new wxString(PyString_AsString(_obj2
));
3642 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
3643 _resultobj
= Py_BuildValue("i",_result
);
3655 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3656 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
3657 PyObject
* _resultobj
;
3658 wxMenuItem
* _result
;
3665 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
3668 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
3673 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
3674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3675 _resultobj
= Py_BuildValue("s",_ptemp
);
3679 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
3680 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
) {
3681 PyObject
* _resultobj
;
3689 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_EnableTop",&_argc0
,&_arg1
,&tempbool2
))
3692 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
3697 _arg2
= (bool ) tempbool2
;
3698 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
3700 _resultobj
= Py_None
;
3704 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3705 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
) {
3706 PyObject
* _resultobj
;
3713 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetHelpString",&_argc0
,&_arg1
))
3716 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
3721 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
3723 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3731 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3732 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
) {
3733 PyObject
* _resultobj
;
3740 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabel",&_argc0
,&_arg1
))
3743 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
3748 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
3750 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3758 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3759 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
) {
3760 PyObject
* _resultobj
;
3765 PyObject
* _obj2
= 0;
3768 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3771 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
3777 if (!PyString_Check(_obj2
)) {
3778 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3781 _arg2
= new wxString(PyString_AsString(_obj2
));
3783 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
3785 _resultobj
= Py_None
;
3793 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3794 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
) {
3795 PyObject
* _resultobj
;
3800 PyObject
* _obj2
= 0;
3803 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3806 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
3812 if (!PyString_Check(_obj2
)) {
3813 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3816 _arg2
= new wxString(PyString_AsString(_obj2
));
3818 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
3820 _resultobj
= Py_None
;
3828 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
3829 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
) {
3830 PyObject
* _resultobj
;
3837 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabelTop",&_argc0
,&_arg1
))
3840 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
3845 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
3847 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3855 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
3856 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
) {
3857 PyObject
* _resultobj
;
3862 PyObject
* _obj2
= 0;
3865 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabelTop",&_argc0
,&_arg1
,&_obj2
))
3868 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
3874 if (!PyString_Check(_obj2
)) {
3875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3878 _arg2
= new wxString(PyString_AsString(_obj2
));
3880 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
3882 _resultobj
= Py_None
;
3890 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
3891 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
3892 PyObject
* _resultobj
;
3898 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
3901 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
3906 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
3907 _resultobj
= Py_BuildValue("i",_result
);
3911 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
3912 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
3913 PyObject
* _resultobj
;
3921 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
3924 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
3929 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
3930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3931 _resultobj
= Py_BuildValue("s",_ptemp
);
3935 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
3936 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
3937 PyObject
* _resultobj
;
3943 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
3946 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
3951 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
3952 _resultobj
= Py_BuildValue("i",_result
);
3956 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3957 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
3958 PyObject
* _resultobj
;
3964 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
3967 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
3972 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
3973 _resultobj
= Py_BuildValue("i",_result
);
3977 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
3978 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
3979 PyObject
* _resultobj
;
3985 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
3988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
3993 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
3994 _resultobj
= Py_BuildValue("i",_result
);
3998 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
3999 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4000 PyObject
* _resultobj
;
4006 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4009 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4014 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4015 _resultobj
= Py_BuildValue("i",_result
);
4019 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4020 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4021 PyObject
* _resultobj
;
4027 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4030 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4035 _result
= (int )wxMenuItem_GetId(_arg0
);
4036 _resultobj
= Py_BuildValue("i",_result
);
4040 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4041 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4042 PyObject
* _resultobj
;
4049 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4057 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4058 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4059 _resultobj
= Py_BuildValue("s",_ptemp
);
4063 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4064 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
4065 PyObject
* _resultobj
;
4069 PyObject
* _obj1
= 0;
4072 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
4075 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
4081 if (!PyString_Check(_obj1
)) {
4082 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4085 _arg1
= new wxString(PyString_AsString(_obj1
));
4087 wxMenuItem_SetName(_arg0
,*_arg1
);
4089 _resultobj
= Py_None
;
4097 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
4098 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
) {
4099 PyObject
* _resultobj
;
4104 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_DeleteSubMenu",&_argc0
))
4107 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
4112 wxMenuItem_DeleteSubMenu(_arg0
);
4114 _resultobj
= Py_None
;
4118 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
4119 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
4120 PyObject
* _resultobj
;
4126 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
4129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
4134 const wxString
& _result_ref
= wxMenuItem_GetName(_arg0
);
4135 _result
= (wxString
*) &_result_ref
;
4137 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4142 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4143 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4144 PyObject
* _resultobj
;
4150 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4153 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4158 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
4159 _result
= (wxString
*) &_result_ref
;
4161 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4166 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4167 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4168 PyObject
* _resultobj
;
4172 PyObject
* _obj1
= 0;
4175 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
4184 if (!PyString_Check(_obj1
)) {
4185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4188 _arg1
= new wxString(PyString_AsString(_obj1
));
4190 wxMenuItem_SetHelp(_arg0
,*_arg1
);
4192 _resultobj
= Py_None
;
4200 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4201 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
4202 PyObject
* _resultobj
;
4209 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
4212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
4217 _arg1
= (bool ) tempbool1
;
4218 wxMenuItem_Enable(_arg0
,_arg1
);
4220 _resultobj
= Py_None
;
4224 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4225 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
4226 PyObject
* _resultobj
;
4233 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
4236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
4241 _arg1
= (bool ) tempbool1
;
4242 wxMenuItem_Check(_arg0
,_arg1
);
4244 _resultobj
= Py_None
;
4248 static PyMethodDef windowscMethods
[] = {
4249 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
4250 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
4251 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
4252 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
4253 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
4254 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu
, 1 },
4255 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
4256 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
4257 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
4258 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
4259 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
4260 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
4261 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
4262 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
4263 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
4264 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop
, 1 },
4265 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop
, 1 },
4266 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel
, 1 },
4267 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString
, 1 },
4268 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel
, 1 },
4269 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString
, 1 },
4270 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop
, 1 },
4271 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
4272 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
4273 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
4274 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
4275 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
4276 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
4277 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
4278 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
4279 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
4280 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
4281 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
4282 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
4283 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
4284 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
4285 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
4286 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
4287 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
4288 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
4289 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
4290 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
4291 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
4292 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
4293 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
4294 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
4295 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
4296 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
4297 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
4298 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
4299 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
4300 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
4301 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
4302 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
4303 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
4304 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
4305 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
4306 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
4307 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
4308 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
4309 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
4310 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
4311 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
4312 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
4313 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
4314 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
4315 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
4316 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
4317 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
4318 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
4319 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
4320 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
4321 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
4322 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
4323 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
4324 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
4325 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
4326 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
4327 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
4328 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
4329 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
4330 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
4331 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
4332 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
4333 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
4334 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
4335 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
4336 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
4337 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
4338 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
4339 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
4340 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
4341 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
4342 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
4343 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
4344 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
4345 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
4346 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
4347 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
4348 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
4349 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
4350 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
4351 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
4352 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
4353 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
4354 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
4355 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
4356 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
4357 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
4358 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
4359 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
4360 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
4361 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
4362 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
4363 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
4364 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
4365 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
4366 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
4367 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
4368 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
4369 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
4370 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
4371 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
4372 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
4373 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
4374 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
4375 { "wxWindow_GetDefaultItem", _wrap_wxWindow_GetDefaultItem
, 1 },
4376 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
4377 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
4378 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
4379 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
4380 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
4381 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
4382 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
4383 { "wxWindow_FindWindowByID", _wrap_wxWindow_FindWindowByID
, 1 },
4384 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
4385 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles
, 1 },
4386 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
4387 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
4388 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
4389 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
4390 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
4391 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
4392 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
4393 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
4394 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
4395 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus
, 1 },
4398 static PyObject
*SWIG_globals
;
4402 SWIGEXPORT(void,initwindowsc
)() {
4404 SWIG_globals
= SWIG_newvarlink();
4405 m
= Py_InitModule("windowsc", windowscMethods
);
4406 d
= PyModule_GetDict(m
);
4408 * These are the pointer type-equivalency mappings.
4409 * (Used by the SWIG pointer type-checker).
4411 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4412 SWIG_RegisterMapping("_signed_long","_long",0);
4413 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4414 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4415 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4416 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4417 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4418 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4419 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4420 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4421 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4422 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4423 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4424 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4425 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4426 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4427 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4428 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4429 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4430 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4431 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4432 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4433 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4434 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4435 SWIG_RegisterMapping("_long","_wxDash",0);
4436 SWIG_RegisterMapping("_long","_unsigned_long",0);
4437 SWIG_RegisterMapping("_long","_signed_long",0);
4438 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4439 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4440 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4441 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4442 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4443 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4444 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4445 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4446 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4447 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4448 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4449 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4450 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4451 SWIG_RegisterMapping("_uint","_int",0);
4452 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4453 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4454 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4455 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4456 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4457 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4458 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4459 SWIG_RegisterMapping("_EBool","_signed_int",0);
4460 SWIG_RegisterMapping("_EBool","_int",0);
4461 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4462 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4463 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4464 SWIG_RegisterMapping("_unsigned_long","_long",0);
4465 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4466 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4467 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4468 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4469 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4470 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4471 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4472 SWIG_RegisterMapping("_signed_int","_EBool",0);
4473 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4474 SWIG_RegisterMapping("_signed_int","_int",0);
4475 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4476 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
4477 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4478 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4479 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4480 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4481 SWIG_RegisterMapping("_WXTYPE","_short",0);
4482 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4483 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4484 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4485 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4486 SWIG_RegisterMapping("_unsigned_short","_short",0);
4487 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4488 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4489 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4490 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4491 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4492 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4493 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4494 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4495 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4496 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4497 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4498 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4499 SWIG_RegisterMapping("_signed_short","_short",0);
4500 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4501 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4502 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4503 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4504 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4505 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4506 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4507 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
4508 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4509 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4510 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4511 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4512 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4513 SWIG_RegisterMapping("_unsigned_int","_int",0);
4514 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4515 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4516 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4517 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4518 SWIG_RegisterMapping("_short","_WXTYPE",0);
4519 SWIG_RegisterMapping("_short","_unsigned_short",0);
4520 SWIG_RegisterMapping("_short","_signed_short",0);
4521 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4522 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4523 SWIG_RegisterMapping("_wxWindowID","_int",0);
4524 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4525 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4526 SWIG_RegisterMapping("_int","_EBool",0);
4527 SWIG_RegisterMapping("_int","_uint",0);
4528 SWIG_RegisterMapping("_int","_wxWindowID",0);
4529 SWIG_RegisterMapping("_int","_unsigned_int",0);
4530 SWIG_RegisterMapping("_int","_signed_int",0);
4531 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4532 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
4533 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4534 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4535 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4536 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4537 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4538 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4539 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4540 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4541 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4542 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4543 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4544 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4545 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4546 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4547 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4548 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4549 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4550 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4551 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4552 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4553 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4554 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4555 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4556 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4557 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4558 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4559 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4560 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4561 SWIG_RegisterMapping("_wxDash","_long",0);
4562 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4563 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4564 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4565 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4566 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4567 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4568 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4569 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4570 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);