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 int* int_LIST_helper(PyObject
* source
);
115 extern long* long_LIST_helper(PyObject
* source
);
116 extern char** string_LIST_helper(PyObject
* source
);
117 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
118 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
119 extern wxString
* wxString_LIST_helper(PyObject
* source
);
121 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
125 static char* wxStringErrorMsg
= "string type is required for parameter";
127 wxWindow
* wxWindow_FindFocus() {
128 return wxWindow::FindFocus();
130 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
) {
131 PyObject
* _resultobj
;
136 if(!PyArg_ParseTuple(args
,":wxWindow_FindFocus"))
138 _result
= (wxWindow
*)wxWindow_FindFocus();
139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
140 _resultobj
= Py_BuildValue("s",_ptemp
);
144 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
145 if (PyCallable_Check(func
)) {
146 self
->Connect(id
, lastId
, eventType
,
147 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
148 new wxPyCallback(func
));
151 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
152 PyObject
* _resultobj
;
153 wxEvtHandler
* _arg0
;
159 PyObject
* _obj4
= 0;
162 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
165 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
173 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
175 _resultobj
= Py_None
;
179 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
182 src
= (wxWindow
*) ptr
;
183 dest
= (wxEvtHandler
*) src
;
184 return (void *) dest
;
187 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
188 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
189 PyObject
* _resultobj
;
193 wxPoint
* _arg2
= &wxPyDefaultPosition
;
194 wxSize
* _arg3
= &wxPyDefaultSize
;
196 char * _arg5
= "panel";
203 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
212 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
218 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
223 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
225 _resultobj
= Py_BuildValue("s",_ptemp
);
229 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
230 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
231 PyObject
* _resultobj
;
236 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
244 wxWindow_CaptureMouse(_arg0
);
246 _resultobj
= Py_None
;
250 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
251 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
252 PyObject
* _resultobj
;
254 int _arg1
= (wxHORIZONTAL
);
258 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
266 wxWindow_Center(_arg0
,_arg1
);
268 _resultobj
= Py_None
;
272 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
273 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
274 PyObject
* _resultobj
;
276 int _arg1
= (wxHORIZONTAL
);
280 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
288 wxWindow_Centre(_arg0
,_arg1
);
290 _resultobj
= Py_None
;
294 #define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
295 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
296 PyObject
* _resultobj
;
302 PyObject
* _obj1
= 0;
304 PyObject
* _obj2
= 0;
307 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreen",&_argc0
,&_obj1
,&_obj2
))
310 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
316 temp
= (int) PyInt_AsLong(_obj1
);
320 temp0
= (int) PyInt_AsLong(_obj2
);
323 wxWindow_ClientToScreen(_arg0
,_arg1
,_arg2
);
325 _resultobj
= Py_None
;
328 o
= PyInt_FromLong((long) (*_arg1
));
329 _resultobj
= t_output_helper(_resultobj
, o
);
333 o
= PyInt_FromLong((long) (*_arg2
));
334 _resultobj
= t_output_helper(_resultobj
, o
);
339 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
340 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
341 PyObject
* _resultobj
;
348 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
351 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
356 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
357 _resultobj
= Py_BuildValue("i",_result
);
361 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
362 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
363 PyObject
* _resultobj
;
369 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
372 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
377 _result
= (bool )wxWindow_Destroy(_arg0
);
378 _resultobj
= Py_BuildValue("i",_result
);
382 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
383 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
384 PyObject
* _resultobj
;
389 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
392 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
397 wxWindow_DestroyChildren(_arg0
);
399 _resultobj
= Py_None
;
403 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
404 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
) {
405 PyObject
* _resultobj
;
412 if(!PyArg_ParseTuple(args
,"si:wxWindow_DragAcceptFiles",&_argc0
,&tempbool1
))
415 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
420 _arg1
= (bool ) tempbool1
;
421 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
423 _resultobj
= Py_None
;
427 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
428 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
429 PyObject
* _resultobj
;
436 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
444 _arg1
= (bool ) tempbool1
;
445 wxWindow_Enable(_arg0
,_arg1
);
447 _resultobj
= Py_None
;
451 #define wxWindow_FindWindowByID(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
452 static PyObject
*_wrap_wxWindow_FindWindowByID(PyObject
*self
, PyObject
*args
) {
453 PyObject
* _resultobj
;
461 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowByID",&_argc0
,&_arg1
))
464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByID. Expected _wxWindow_p.");
469 _result
= (wxWindow
*)wxWindow_FindWindowByID(_arg0
,_arg1
);
470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
471 _resultobj
= Py_BuildValue("s",_ptemp
);
475 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
476 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
477 PyObject
* _resultobj
;
482 PyObject
* _obj1
= 0;
486 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
489 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
495 if (!PyString_Check(_obj1
)) {
496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
499 _arg1
= new wxString(PyString_AsString(_obj1
));
501 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
503 _resultobj
= Py_BuildValue("s",_ptemp
);
511 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
512 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
513 PyObject
* _resultobj
;
518 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
528 _resultobj
= Py_None
;
532 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
533 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
534 PyObject
* _resultobj
;
541 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
549 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
550 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
551 _resultobj
= Py_BuildValue("s",_ptemp
);
555 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
556 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
557 PyObject
* _resultobj
;
563 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
566 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
571 _result
= (int )wxWindow_GetCharHeight(_arg0
);
572 _resultobj
= Py_BuildValue("i",_result
);
576 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
577 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
578 PyObject
* _resultobj
;
584 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
587 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
592 _result
= (int )wxWindow_GetCharWidth(_arg0
);
593 _resultobj
= Py_BuildValue("i",_result
);
597 #define wxWindow_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
598 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
599 PyObject
* _resultobj
;
614 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
617 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
622 wxWindow_GetClientSize(_arg0
,_arg1
,_arg2
);
624 _resultobj
= Py_None
;
627 o
= PyInt_FromLong((long) (*_arg1
));
628 _resultobj
= t_output_helper(_resultobj
, o
);
632 o
= PyInt_FromLong((long) (*_arg2
));
633 _resultobj
= t_output_helper(_resultobj
, o
);
638 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
639 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
640 PyObject
* _resultobj
;
641 wxLayoutConstraints
* _result
;
647 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
650 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
655 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
657 _resultobj
= Py_BuildValue("s",_ptemp
);
661 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
662 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
) {
663 PyObject
* _resultobj
;
670 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetDefaultItem",&_argc0
))
673 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
678 _result
= (wxButton
*)wxWindow_GetDefaultItem(_arg0
);
679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
680 _resultobj
= Py_BuildValue("s",_ptemp
);
684 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
685 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
686 PyObject
* _resultobj
;
693 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
701 _result
= (wxFont
*)wxWindow_GetFont(_arg0
);
702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
703 _resultobj
= Py_BuildValue("s",_ptemp
);
707 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
708 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
709 PyObject
* _resultobj
;
716 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
724 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
725 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
726 _resultobj
= Py_BuildValue("s",_ptemp
);
730 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
731 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
732 PyObject
* _resultobj
;
739 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
742 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
747 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
749 _resultobj
= Py_BuildValue("s",_ptemp
);
753 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
754 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
755 PyObject
* _resultobj
;
761 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
764 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
769 _result
= (int )wxWindow_GetId(_arg0
);
770 _resultobj
= Py_BuildValue("i",_result
);
774 #define wxWindow_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
775 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
776 PyObject
* _resultobj
;
791 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
794 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
799 wxWindow_GetPosition(_arg0
,_arg1
,_arg2
);
801 _resultobj
= Py_None
;
804 o
= PyInt_FromLong((long) (*_arg1
));
805 _resultobj
= t_output_helper(_resultobj
, o
);
809 o
= PyInt_FromLong((long) (*_arg2
));
810 _resultobj
= t_output_helper(_resultobj
, o
);
815 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
816 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
817 PyObject
* _resultobj
;
823 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
826 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
831 _result
= new wxString (wxWindow_GetLabel(_arg0
));
833 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
841 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
842 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
843 PyObject
* _resultobj
;
849 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
852 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
857 _result
= new wxString (wxWindow_GetName(_arg0
));
859 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
867 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
868 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
869 PyObject
* _resultobj
;
876 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
884 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
886 _resultobj
= Py_BuildValue("s",_ptemp
);
890 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
891 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
892 PyObject
* _resultobj
;
898 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
901 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
906 _result
= (int )wxWindow_GetReturnCode(_arg0
);
907 _resultobj
= Py_BuildValue("i",_result
);
911 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
912 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
913 PyObject
* _resultobj
;
920 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
923 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
928 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
929 _resultobj
= Py_BuildValue("i",_result
);
933 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
934 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
935 PyObject
* _resultobj
;
942 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
945 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
950 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
951 _resultobj
= Py_BuildValue("i",_result
);
955 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
956 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
957 PyObject
* _resultobj
;
964 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
967 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
972 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
973 _resultobj
= Py_BuildValue("i",_result
);
977 #define wxWindow_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
978 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
979 PyObject
* _resultobj
;
994 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
997 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1002 wxWindow_GetSize(_arg0
,_arg1
,_arg2
);
1004 _resultobj
= Py_None
;
1007 o
= PyInt_FromLong((long) (*_arg1
));
1008 _resultobj
= t_output_helper(_resultobj
, o
);
1012 o
= PyInt_FromLong((long) (*_arg2
));
1013 _resultobj
= t_output_helper(_resultobj
, o
);
1018 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1019 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
1020 PyObject
* _resultobj
;
1028 PyObject
* _obj1
= 0;
1037 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1040 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1046 if (!PyString_Check(_obj1
)) {
1047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1050 _arg1
= new wxString(PyString_AsString(_obj1
));
1052 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1054 _resultobj
= Py_None
;
1057 o
= PyInt_FromLong((long) (*_arg2
));
1058 _resultobj
= t_output_helper(_resultobj
, o
);
1062 o
= PyInt_FromLong((long) (*_arg3
));
1063 _resultobj
= t_output_helper(_resultobj
, o
);
1072 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1073 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1074 PyObject
* _resultobj
;
1080 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1083 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1088 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1090 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1098 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1099 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1100 PyObject
* _resultobj
;
1106 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1109 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1114 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1115 _resultobj
= Py_BuildValue("l",_result
);
1119 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1120 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1121 PyObject
* _resultobj
;
1126 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1134 wxWindow_InitDialog(_arg0
);
1136 _resultobj
= Py_None
;
1140 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1141 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1142 PyObject
* _resultobj
;
1148 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1151 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1156 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1157 _resultobj
= Py_BuildValue("i",_result
);
1161 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1162 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1163 PyObject
* _resultobj
;
1169 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1172 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1177 _result
= (bool )wxWindow_IsRetained(_arg0
);
1178 _resultobj
= Py_BuildValue("i",_result
);
1182 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1183 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1184 PyObject
* _resultobj
;
1190 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1193 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1198 _result
= (bool )wxWindow_IsShown(_arg0
);
1199 _resultobj
= Py_BuildValue("i",_result
);
1203 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1204 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1205 PyObject
* _resultobj
;
1210 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1218 wxWindow_Layout(_arg0
);
1220 _resultobj
= Py_None
;
1224 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1225 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1226 PyObject
* _resultobj
;
1231 wxResourceTable
* _arg3
= NULL
;
1234 PyObject
* _obj2
= 0;
1238 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1247 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1253 if (!PyString_Check(_obj2
)) {
1254 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1257 _arg2
= new wxString(PyString_AsString(_obj2
));
1260 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1265 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1266 _resultobj
= Py_BuildValue("i",_result
);
1274 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1275 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1276 PyObject
* _resultobj
;
1281 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1284 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1289 wxWindow_Lower(_arg0
);
1291 _resultobj
= Py_None
;
1295 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1296 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1297 PyObject
* _resultobj
;
1304 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1307 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1312 _arg1
= (bool ) tempbool1
;
1313 wxWindow_MakeModal(_arg0
,_arg1
);
1315 _resultobj
= Py_None
;
1319 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1320 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1321 PyObject
* _resultobj
;
1328 if(!PyArg_ParseTuple(args
,"sii:wxWindow_Move",&_argc0
,&_arg1
,&_arg2
))
1331 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1336 wxWindow_Move(_arg0
,_arg1
,_arg2
);
1338 _resultobj
= Py_None
;
1342 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1343 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1344 PyObject
* _resultobj
;
1354 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1357 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1363 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1368 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1369 _resultobj
= Py_BuildValue("i",_result
);
1373 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1374 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1375 PyObject
* _resultobj
;
1380 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1388 wxWindow_Raise(_arg0
);
1390 _resultobj
= Py_None
;
1394 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1395 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1396 PyObject
* _resultobj
;
1399 wxRect
* _arg2
= NULL
;
1405 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1408 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1413 _arg1
= (bool ) tempbool1
;
1415 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1420 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1422 _resultobj
= Py_None
;
1426 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1427 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1428 PyObject
* _resultobj
;
1433 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1441 wxWindow_ReleaseMouse(_arg0
);
1443 _resultobj
= Py_None
;
1447 #define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1448 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
1449 PyObject
* _resultobj
;
1455 PyObject
* _obj1
= 0;
1457 PyObject
* _obj2
= 0;
1460 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClient",&_argc0
,&_obj1
,&_obj2
))
1463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
1469 temp
= (int) PyInt_AsLong(_obj1
);
1473 temp0
= (int) PyInt_AsLong(_obj2
);
1476 wxWindow_ScreenToClient(_arg0
,_arg1
,_arg2
);
1478 _resultobj
= Py_None
;
1481 o
= PyInt_FromLong((long) (*_arg1
));
1482 _resultobj
= t_output_helper(_resultobj
, o
);
1486 o
= PyInt_FromLong((long) (*_arg2
));
1487 _resultobj
= t_output_helper(_resultobj
, o
);
1492 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1493 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1494 PyObject
* _resultobj
;
1498 wxRect
* _arg3
= NULL
;
1503 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1506 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1512 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1517 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1519 _resultobj
= Py_None
;
1523 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1524 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1525 PyObject
* _resultobj
;
1532 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1535 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1540 _arg1
= (bool ) tempbool1
;
1541 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1543 _resultobj
= Py_None
;
1547 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1548 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1549 PyObject
* _resultobj
;
1556 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1559 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1565 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1570 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1572 _resultobj
= Py_None
;
1576 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1577 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1578 PyObject
* _resultobj
;
1580 wxLayoutConstraints
* _arg1
;
1585 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1594 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1599 wxWindow_SetConstraints(_arg0
,_arg1
);
1601 _resultobj
= Py_None
;
1605 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1606 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1607 PyObject
* _resultobj
;
1614 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1617 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1622 _arg1
= (bool ) tempbool1
;
1623 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1625 _resultobj
= Py_None
;
1629 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1630 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1631 PyObject
* _resultobj
;
1636 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1639 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1644 wxWindow_SetFocus(_arg0
);
1646 _resultobj
= Py_None
;
1650 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1651 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1652 PyObject
* _resultobj
;
1659 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1662 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1668 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1673 wxWindow_SetFont(_arg0
,*_arg1
);
1675 _resultobj
= Py_None
;
1679 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1680 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1681 PyObject
* _resultobj
;
1688 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1691 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
1697 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
1702 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
1704 _resultobj
= Py_None
;
1708 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1709 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
1710 PyObject
* _resultobj
;
1716 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
1719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
1724 wxWindow_SetId(_arg0
,_arg1
);
1726 _resultobj
= Py_None
;
1730 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
1731 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
1732 PyObject
* _resultobj
;
1736 PyObject
* _obj1
= 0;
1739 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
1742 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
1748 if (!PyString_Check(_obj1
)) {
1749 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1752 _arg1
= new wxString(PyString_AsString(_obj1
));
1754 wxWindow_SetName(_arg0
,*_arg1
);
1756 _resultobj
= Py_None
;
1764 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1765 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
1766 PyObject
* _resultobj
;
1772 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
1775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
1780 wxWindow_SetReturnCode(_arg0
,_arg1
);
1782 _resultobj
= Py_None
;
1786 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1787 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
1788 PyObject
* _resultobj
;
1799 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
1802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
1807 _arg5
= (bool ) tempbool5
;
1808 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1810 _resultobj
= Py_None
;
1814 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
1815 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
1816 PyObject
* _resultobj
;
1825 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1828 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
1833 _arg3
= (bool ) tempbool3
;
1834 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
1836 _resultobj
= Py_None
;
1840 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1841 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
1842 PyObject
* _resultobj
;
1848 int _arg5
= (wxSIZE_AUTO
);
1852 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1855 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
1860 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1862 _resultobj
= Py_None
;
1866 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
1867 self
->SetSize(size
.x
, size
.y
);
1869 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
1870 PyObject
* _resultobj
;
1877 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
1880 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
1886 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
1891 wxWindow_SetSize(_arg0
,*_arg1
);
1893 _resultobj
= Py_None
;
1897 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
1898 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
1900 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
1901 PyObject
* _resultobj
;
1908 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
1911 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
1917 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
1922 wxWindow_SetPosition(_arg0
,*_arg1
);
1924 _resultobj
= Py_None
;
1928 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1929 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
1930 PyObject
* _resultobj
;
1941 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1944 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
1949 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1951 _resultobj
= Py_None
;
1955 #define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
1956 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
1957 PyObject
* _resultobj
;
1964 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSize",&_argc0
,&_arg1
,&_arg2
))
1967 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
1972 wxWindow_SetClientSize(_arg0
,_arg1
,_arg2
);
1974 _resultobj
= Py_None
;
1978 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
1979 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
1980 PyObject
* _resultobj
;
1987 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
1990 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
1996 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2001 wxWindow_SetCursor(_arg0
,*_arg1
);
2003 _resultobj
= Py_None
;
2007 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2008 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2009 PyObject
* _resultobj
;
2013 PyObject
* _obj1
= 0;
2016 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2025 if (!PyString_Check(_obj1
)) {
2026 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2029 _arg1
= new wxString(PyString_AsString(_obj1
));
2031 wxWindow_SetTitle(_arg0
,*_arg1
);
2033 _resultobj
= Py_None
;
2041 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2042 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2043 PyObject
* _resultobj
;
2051 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2054 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2059 _arg1
= (bool ) tempbool1
;
2060 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2061 _resultobj
= Py_BuildValue("i",_result
);
2065 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2066 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2067 PyObject
* _resultobj
;
2073 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2076 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2081 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2082 _resultobj
= Py_BuildValue("i",_result
);
2086 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2087 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2088 PyObject
* _resultobj
;
2094 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2097 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2102 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2103 _resultobj
= Py_BuildValue("i",_result
);
2107 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2108 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2109 PyObject
* _resultobj
;
2115 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2118 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2123 _result
= (bool )wxWindow_Validate(_arg0
);
2124 _resultobj
= Py_BuildValue("i",_result
);
2128 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
2129 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
) {
2130 PyObject
* _resultobj
;
2137 if(!PyArg_ParseTuple(args
,"sii:wxWindow_WarpPointer",&_argc0
,&_arg1
,&_arg2
))
2140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
2145 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
2147 _resultobj
= Py_None
;
2151 static void *SwigwxPanelTowxWindow(void *ptr
) {
2154 src
= (wxPanel
*) ptr
;
2155 dest
= (wxWindow
*) src
;
2156 return (void *) dest
;
2159 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2162 src
= (wxPanel
*) ptr
;
2163 dest
= (wxEvtHandler
*) src
;
2164 return (void *) dest
;
2167 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2168 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2169 PyObject
* _resultobj
;
2173 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2174 wxSize
* _arg3
= &wxPyDefaultSize
;
2175 long _arg4
= (wxTAB_TRAVERSAL
);
2176 char * _arg5
= "panel";
2183 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2186 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2192 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2198 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2203 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2205 _resultobj
= Py_BuildValue("s",_ptemp
);
2209 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2210 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2211 PyObject
* _resultobj
;
2216 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2219 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2224 wxPanel_InitDialog(_arg0
);
2226 _resultobj
= Py_None
;
2230 static void *SwigwxDialogTowxPanel(void *ptr
) {
2233 src
= (wxDialog
*) ptr
;
2234 dest
= (wxPanel
*) src
;
2235 return (void *) dest
;
2238 static void *SwigwxDialogTowxWindow(void *ptr
) {
2241 src
= (wxDialog
*) ptr
;
2242 dest
= (wxWindow
*) src
;
2243 return (void *) dest
;
2246 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2249 src
= (wxDialog
*) ptr
;
2250 dest
= (wxEvtHandler
*) src
;
2251 return (void *) dest
;
2254 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2255 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2256 PyObject
* _resultobj
;
2261 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2262 wxSize
* _arg4
= &wxPyDefaultSize
;
2263 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2264 char * _arg6
= "dialogBox";
2266 PyObject
* _obj2
= 0;
2272 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2275 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2281 if (!PyString_Check(_obj2
)) {
2282 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2285 _arg2
= new wxString(PyString_AsString(_obj2
));
2288 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2294 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2299 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2301 _resultobj
= Py_BuildValue("s",_ptemp
);
2309 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2310 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2311 PyObject
* _resultobj
;
2313 int _arg1
= (wxBOTH
);
2317 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2320 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2325 wxDialog_Centre(_arg0
,_arg1
);
2327 _resultobj
= Py_None
;
2331 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2332 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2333 PyObject
* _resultobj
;
2339 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2347 wxDialog_EndModal(_arg0
,_arg1
);
2349 _resultobj
= Py_None
;
2353 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2354 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2355 PyObject
* _resultobj
;
2361 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2364 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2369 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2371 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2379 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2380 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2381 PyObject
* _resultobj
;
2388 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2391 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2396 _arg1
= (bool ) tempbool1
;
2397 wxDialog_Iconize(_arg0
,_arg1
);
2399 _resultobj
= Py_None
;
2403 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2404 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2405 PyObject
* _resultobj
;
2411 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2414 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2419 _result
= (bool )wxDialog_IsIconized(_arg0
);
2420 _resultobj
= Py_BuildValue("i",_result
);
2424 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2425 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2426 PyObject
* _resultobj
;
2433 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2441 _arg1
= (bool ) tempbool1
;
2442 wxDialog_SetModal(_arg0
,_arg1
);
2444 _resultobj
= Py_None
;
2448 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2449 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2450 PyObject
* _resultobj
;
2456 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
2459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
2464 _result
= (bool )wxDialog_IsModal(_arg0
);
2465 _resultobj
= Py_BuildValue("i",_result
);
2469 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2470 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
2471 PyObject
* _resultobj
;
2475 PyObject
* _obj1
= 0;
2478 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
2481 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
2487 if (!PyString_Check(_obj1
)) {
2488 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2491 _arg1
= new wxString(PyString_AsString(_obj1
));
2493 wxDialog_SetTitle(_arg0
,*_arg1
);
2495 _resultobj
= Py_None
;
2503 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2504 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
2505 PyObject
* _resultobj
;
2513 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
2516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
2521 _arg1
= (bool ) tempbool1
;
2522 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
2523 _resultobj
= Py_BuildValue("i",_result
);
2527 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2528 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2529 PyObject
* _resultobj
;
2535 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
2538 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
2543 _result
= (int )wxDialog_ShowModal(_arg0
);
2544 _resultobj
= Py_BuildValue("i",_result
);
2548 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
2549 wxScrolledWindow
*src
;
2551 src
= (wxScrolledWindow
*) ptr
;
2552 dest
= (wxWindow
*) src
;
2553 return (void *) dest
;
2556 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
2557 wxScrolledWindow
*src
;
2559 src
= (wxScrolledWindow
*) ptr
;
2560 dest
= (wxEvtHandler
*) src
;
2561 return (void *) dest
;
2564 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2565 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
2566 PyObject
* _resultobj
;
2567 wxScrolledWindow
* _result
;
2569 wxWindowID _arg1
= -1;
2570 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2571 wxSize
* _arg3
= &wxPyDefaultSize
;
2572 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
2573 char * _arg5
= "scrolledWindow";
2580 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2583 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
2589 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
2595 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
2600 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
2602 _resultobj
= Py_BuildValue("s",_ptemp
);
2606 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
2607 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
2608 PyObject
* _resultobj
;
2609 wxScrolledWindow
* _arg0
;
2617 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
2620 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
2625 _arg1
= (bool ) tempbool1
;
2626 _arg2
= (bool ) tempbool2
;
2627 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
2629 _resultobj
= Py_None
;
2633 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
2634 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
2635 PyObject
* _resultobj
;
2636 wxScrolledWindow
* _arg0
;
2650 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
2653 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
2658 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
2660 _resultobj
= Py_None
;
2663 o
= PyInt_FromLong((long) (*_arg1
));
2664 _resultobj
= t_output_helper(_resultobj
, o
);
2668 o
= PyInt_FromLong((long) (*_arg2
));
2669 _resultobj
= t_output_helper(_resultobj
, o
);
2674 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
2675 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
2676 PyObject
* _resultobj
;
2677 wxScrolledWindow
* _arg0
;
2691 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
2694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
2699 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
2701 _resultobj
= Py_None
;
2704 o
= PyInt_FromLong((long) (*_arg1
));
2705 _resultobj
= t_output_helper(_resultobj
, o
);
2709 o
= PyInt_FromLong((long) (*_arg2
));
2710 _resultobj
= t_output_helper(_resultobj
, o
);
2715 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2716 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
2717 PyObject
* _resultobj
;
2719 wxScrolledWindow
* _arg0
;
2723 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
2726 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
2731 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
2732 _resultobj
= Py_BuildValue("i",_result
);
2736 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
2737 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
2738 PyObject
* _resultobj
;
2739 wxScrolledWindow
* _arg0
;
2745 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
2748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
2754 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
2759 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
2761 _resultobj
= Py_None
;
2765 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
2766 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
2767 PyObject
* _resultobj
;
2768 wxScrolledWindow
* _arg0
;
2774 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
2777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
2782 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
2784 _resultobj
= Py_None
;
2788 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2789 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
2790 PyObject
* _resultobj
;
2791 wxScrolledWindow
* _arg0
;
2801 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
2809 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2811 _resultobj
= Py_None
;
2815 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
2816 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
2817 PyObject
* _resultobj
;
2818 wxScrolledWindow
* _arg0
;
2832 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
2835 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
2840 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
2842 _resultobj
= Py_None
;
2845 o
= PyInt_FromLong((long) (*_arg1
));
2846 _resultobj
= t_output_helper(_resultobj
, o
);
2850 o
= PyInt_FromLong((long) (*_arg2
));
2851 _resultobj
= t_output_helper(_resultobj
, o
);
2856 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
2859 src
= (wxMenu
*) ptr
;
2860 dest
= (wxEvtHandler
*) src
;
2861 return (void *) dest
;
2864 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
2865 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
2866 PyObject
* _resultobj
;
2868 wxString
* _arg0
= &wxPyEmptyStr
;
2869 PyObject
* _obj0
= 0;
2873 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
2877 if (!PyString_Check(_obj0
)) {
2878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2881 _arg0
= new wxString(PyString_AsString(_obj0
));
2883 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
2884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
2885 _resultobj
= Py_BuildValue("s",_ptemp
);
2893 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2894 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
2895 PyObject
* _resultobj
;
2899 wxString
* _arg3
= &wxPyEmptyStr
;
2902 PyObject
* _obj2
= 0;
2903 PyObject
* _obj3
= 0;
2906 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
2909 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
2915 if (!PyString_Check(_obj2
)) {
2916 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2919 _arg2
= new wxString(PyString_AsString(_obj2
));
2923 if (!PyString_Check(_obj3
)) {
2924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2927 _arg3
= new wxString(PyString_AsString(_obj3
));
2929 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
2931 _resultobj
= Py_None
;
2943 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2944 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
2945 PyObject
* _resultobj
;
2950 wxString
* _arg4
= &wxPyEmptyStr
;
2952 PyObject
* _obj2
= 0;
2954 PyObject
* _obj4
= 0;
2957 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
2960 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
2966 if (!PyString_Check(_obj2
)) {
2967 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2970 _arg2
= new wxString(PyString_AsString(_obj2
));
2973 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
2980 if (!PyString_Check(_obj4
)) {
2981 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2984 _arg4
= new wxString(PyString_AsString(_obj4
));
2986 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
2988 _resultobj
= Py_None
;
3000 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3001 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3002 PyObject
* _resultobj
;
3007 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3010 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3015 wxMenu_AppendSeparator(_arg0
);
3017 _resultobj
= Py_None
;
3021 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3022 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3023 PyObject
* _resultobj
;
3028 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3031 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3036 wxMenu_Break(_arg0
);
3038 _resultobj
= Py_None
;
3042 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3043 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3044 PyObject
* _resultobj
;
3052 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3060 _arg2
= (bool ) tempbool2
;
3061 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3063 _resultobj
= Py_None
;
3067 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3068 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3069 PyObject
* _resultobj
;
3077 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3085 _arg2
= (bool ) tempbool2
;
3086 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3088 _resultobj
= Py_None
;
3092 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3093 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3094 PyObject
* _resultobj
;
3099 PyObject
* _obj1
= 0;
3102 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3105 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3111 if (!PyString_Check(_obj1
)) {
3112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3115 _arg1
= new wxString(PyString_AsString(_obj1
));
3117 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3118 _resultobj
= Py_BuildValue("i",_result
);
3126 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
3127 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
) {
3128 PyObject
* _resultobj
;
3134 if(!PyArg_ParseTuple(args
,"s:wxMenu_GetTitle",&_argc0
))
3137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
3142 _result
= new wxString (wxMenu_GetTitle(_arg0
));
3144 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3152 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3153 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
) {
3154 PyObject
* _resultobj
;
3158 PyObject
* _obj1
= 0;
3161 if(!PyArg_ParseTuple(args
,"sO:wxMenu_SetTitle",&_argc0
,&_obj1
))
3164 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
3170 if (!PyString_Check(_obj1
)) {
3171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3174 _arg1
= new wxString(PyString_AsString(_obj1
));
3176 wxMenu_SetTitle(_arg0
,*_arg1
);
3178 _resultobj
= Py_None
;
3186 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3187 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3188 PyObject
* _resultobj
;
3189 wxMenuItem
* _result
;
3196 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3199 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3204 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3206 _resultobj
= Py_BuildValue("s",_ptemp
);
3210 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3211 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3212 PyObject
* _resultobj
;
3219 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3222 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3227 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3229 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3237 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3238 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3239 PyObject
* _resultobj
;
3246 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3254 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3256 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3264 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3265 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3266 PyObject
* _resultobj
;
3271 PyObject
* _obj2
= 0;
3274 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3283 if (!PyString_Check(_obj2
)) {
3284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3287 _arg2
= new wxString(PyString_AsString(_obj2
));
3289 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3291 _resultobj
= Py_None
;
3299 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3300 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3301 PyObject
* _resultobj
;
3308 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3316 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3317 _resultobj
= Py_BuildValue("i",_result
);
3321 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3322 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3323 PyObject
* _resultobj
;
3330 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3338 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3339 _resultobj
= Py_BuildValue("i",_result
);
3343 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3344 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3345 PyObject
* _resultobj
;
3350 PyObject
* _obj2
= 0;
3353 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3356 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3362 if (!PyString_Check(_obj2
)) {
3363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3366 _arg2
= new wxString(PyString_AsString(_obj2
));
3368 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3370 _resultobj
= Py_None
;
3378 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3381 src
= (wxPyMenu
*) ptr
;
3382 dest
= (wxMenu
*) src
;
3383 return (void *) dest
;
3386 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3389 src
= (wxPyMenu
*) ptr
;
3390 dest
= (wxEvtHandler
*) src
;
3391 return (void *) dest
;
3394 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3395 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3396 PyObject
* _resultobj
;
3398 wxString
* _arg0
= &wxPyEmptyStr
;
3399 PyObject
* _arg1
= NULL
;
3400 PyObject
* _obj0
= 0;
3401 PyObject
* _obj1
= 0;
3405 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3409 if (!PyString_Check(_obj0
)) {
3410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3413 _arg0
= new wxString(PyString_AsString(_obj0
));
3419 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3421 _resultobj
= Py_BuildValue("s",_ptemp
);
3429 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
3430 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3431 PyObject
* _resultobj
;
3436 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
3439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
3444 delete_wxPyMenu(_arg0
);
3446 _resultobj
= Py_None
;
3450 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
3453 src
= (wxMenuBar
*) ptr
;
3454 dest
= (wxEvtHandler
*) src
;
3455 return (void *) dest
;
3458 #define new_wxMenuBar() (new wxMenuBar())
3459 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
3460 PyObject
* _resultobj
;
3461 wxMenuBar
* _result
;
3465 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
3467 _result
= (wxMenuBar
*)new_wxMenuBar();
3468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
3469 _resultobj
= Py_BuildValue("s",_ptemp
);
3473 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
3474 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
3475 PyObject
* _resultobj
;
3481 PyObject
* _obj2
= 0;
3484 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
3487 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
3493 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
3499 if (!PyString_Check(_obj2
)) {
3500 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3503 _arg2
= new wxString(PyString_AsString(_obj2
));
3505 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
3507 _resultobj
= Py_None
;
3515 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3516 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
3517 PyObject
* _resultobj
;
3525 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
3528 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
3533 _arg2
= (bool ) tempbool2
;
3534 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
3536 _resultobj
= Py_None
;
3540 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
3541 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
3542 PyObject
* _resultobj
;
3549 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
3552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
3557 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
3558 _resultobj
= Py_BuildValue("i",_result
);
3562 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3563 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
3564 PyObject
* _resultobj
;
3572 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
3575 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
3580 _arg2
= (bool ) tempbool2
;
3581 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
3583 _resultobj
= Py_None
;
3587 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
3588 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
3589 PyObject
* _resultobj
;
3596 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
3599 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
3604 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
3605 _resultobj
= Py_BuildValue("i",_result
);
3609 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
3610 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
3611 PyObject
* _resultobj
;
3617 PyObject
* _obj1
= 0;
3618 PyObject
* _obj2
= 0;
3621 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
3624 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
3630 if (!PyString_Check(_obj1
)) {
3631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3634 _arg1
= new wxString(PyString_AsString(_obj1
));
3637 if (!PyString_Check(_obj2
)) {
3638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3641 _arg2
= new wxString(PyString_AsString(_obj2
));
3643 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
3644 _resultobj
= Py_BuildValue("i",_result
);
3656 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3657 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
3658 PyObject
* _resultobj
;
3659 wxMenuItem
* _result
;
3666 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
3669 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
3674 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
3675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3676 _resultobj
= Py_BuildValue("s",_ptemp
);
3680 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
3681 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
) {
3682 PyObject
* _resultobj
;
3690 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_EnableTop",&_argc0
,&_arg1
,&tempbool2
))
3693 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
3698 _arg2
= (bool ) tempbool2
;
3699 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
3701 _resultobj
= Py_None
;
3705 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3706 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
) {
3707 PyObject
* _resultobj
;
3714 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetHelpString",&_argc0
,&_arg1
))
3717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
3722 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
3724 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3732 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3733 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
) {
3734 PyObject
* _resultobj
;
3741 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabel",&_argc0
,&_arg1
))
3744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
3749 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
3751 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3759 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3760 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
) {
3761 PyObject
* _resultobj
;
3766 PyObject
* _obj2
= 0;
3769 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3772 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
3778 if (!PyString_Check(_obj2
)) {
3779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3782 _arg2
= new wxString(PyString_AsString(_obj2
));
3784 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
3786 _resultobj
= Py_None
;
3794 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3795 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
) {
3796 PyObject
* _resultobj
;
3801 PyObject
* _obj2
= 0;
3804 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3807 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
3813 if (!PyString_Check(_obj2
)) {
3814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3817 _arg2
= new wxString(PyString_AsString(_obj2
));
3819 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
3821 _resultobj
= Py_None
;
3829 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
3830 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
) {
3831 PyObject
* _resultobj
;
3838 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetLabelTop",&_argc0
,&_arg1
))
3841 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
3846 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
3848 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3856 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
3857 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
) {
3858 PyObject
* _resultobj
;
3863 PyObject
* _obj2
= 0;
3866 if(!PyArg_ParseTuple(args
,"siO:wxMenuBar_SetLabelTop",&_argc0
,&_arg1
,&_obj2
))
3869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
3875 if (!PyString_Check(_obj2
)) {
3876 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3879 _arg2
= new wxString(PyString_AsString(_obj2
));
3881 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
3883 _resultobj
= Py_None
;
3891 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
3892 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
3893 PyObject
* _resultobj
;
3899 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
3902 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
3907 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
3908 _resultobj
= Py_BuildValue("i",_result
);
3912 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
3913 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
3914 PyObject
* _resultobj
;
3922 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
3925 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
3930 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
3931 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3932 _resultobj
= Py_BuildValue("s",_ptemp
);
3936 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
3937 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
3938 PyObject
* _resultobj
;
3944 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
3947 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
3952 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
3953 _resultobj
= Py_BuildValue("i",_result
);
3957 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3958 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
3959 PyObject
* _resultobj
;
3965 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
3968 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
3973 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
3974 _resultobj
= Py_BuildValue("i",_result
);
3978 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
3979 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
3980 PyObject
* _resultobj
;
3986 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
3989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
3994 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
3995 _resultobj
= Py_BuildValue("i",_result
);
3999 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
4000 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4001 PyObject
* _resultobj
;
4007 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4010 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4015 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4016 _resultobj
= Py_BuildValue("i",_result
);
4020 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4021 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4022 PyObject
* _resultobj
;
4028 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4031 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4036 _result
= (int )wxMenuItem_GetId(_arg0
);
4037 _resultobj
= Py_BuildValue("i",_result
);
4041 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4042 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4043 PyObject
* _resultobj
;
4050 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4058 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4060 _resultobj
= Py_BuildValue("s",_ptemp
);
4064 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4065 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
) {
4066 PyObject
* _resultobj
;
4070 PyObject
* _obj1
= 0;
4073 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetName",&_argc0
,&_obj1
))
4076 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
4082 if (!PyString_Check(_obj1
)) {
4083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4086 _arg1
= new wxString(PyString_AsString(_obj1
));
4088 wxMenuItem_SetName(_arg0
,*_arg1
);
4090 _resultobj
= Py_None
;
4098 #define wxMenuItem_DeleteSubMenu(_swigobj) (_swigobj->DeleteSubMenu())
4099 static PyObject
*_wrap_wxMenuItem_DeleteSubMenu(PyObject
*self
, PyObject
*args
) {
4100 PyObject
* _resultobj
;
4105 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_DeleteSubMenu",&_argc0
))
4108 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_DeleteSubMenu. Expected _wxMenuItem_p.");
4113 wxMenuItem_DeleteSubMenu(_arg0
);
4115 _resultobj
= Py_None
;
4119 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
4120 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
) {
4121 PyObject
* _resultobj
;
4127 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetName",&_argc0
))
4130 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
4135 const wxString
& _result_ref
= wxMenuItem_GetName(_arg0
);
4136 _result
= (wxString
*) &_result_ref
;
4138 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4143 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4144 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4145 PyObject
* _resultobj
;
4151 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4154 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4159 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
4160 _result
= (wxString
*) &_result_ref
;
4162 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4167 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4168 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4169 PyObject
* _resultobj
;
4173 PyObject
* _obj1
= 0;
4176 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4179 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
4185 if (!PyString_Check(_obj1
)) {
4186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4189 _arg1
= new wxString(PyString_AsString(_obj1
));
4191 wxMenuItem_SetHelp(_arg0
,*_arg1
);
4193 _resultobj
= Py_None
;
4201 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4202 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
4203 PyObject
* _resultobj
;
4210 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
4213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
4218 _arg1
= (bool ) tempbool1
;
4219 wxMenuItem_Enable(_arg0
,_arg1
);
4221 _resultobj
= Py_None
;
4225 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4226 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
4227 PyObject
* _resultobj
;
4234 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
4237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
4242 _arg1
= (bool ) tempbool1
;
4243 wxMenuItem_Check(_arg0
,_arg1
);
4245 _resultobj
= Py_None
;
4249 static PyMethodDef windowscMethods
[] = {
4250 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
4251 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
4252 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
4253 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
4254 { "wxMenuItem_GetName", _wrap_wxMenuItem_GetName
, 1 },
4255 { "wxMenuItem_DeleteSubMenu", _wrap_wxMenuItem_DeleteSubMenu
, 1 },
4256 { "wxMenuItem_SetName", _wrap_wxMenuItem_SetName
, 1 },
4257 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
4258 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
4259 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
4260 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
4261 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
4262 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
4263 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
4264 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
4265 { "wxMenuBar_SetLabelTop", _wrap_wxMenuBar_SetLabelTop
, 1 },
4266 { "wxMenuBar_GetLabelTop", _wrap_wxMenuBar_GetLabelTop
, 1 },
4267 { "wxMenuBar_SetLabel", _wrap_wxMenuBar_SetLabel
, 1 },
4268 { "wxMenuBar_SetHelpString", _wrap_wxMenuBar_SetHelpString
, 1 },
4269 { "wxMenuBar_GetLabel", _wrap_wxMenuBar_GetLabel
, 1 },
4270 { "wxMenuBar_GetHelpString", _wrap_wxMenuBar_GetHelpString
, 1 },
4271 { "wxMenuBar_EnableTop", _wrap_wxMenuBar_EnableTop
, 1 },
4272 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
4273 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
4274 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
4275 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
4276 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
4277 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
4278 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
4279 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
4280 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
4281 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
4282 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
4283 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
4284 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
4285 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
4286 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
4287 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
4288 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
4289 { "wxMenu_SetTitle", _wrap_wxMenu_SetTitle
, 1 },
4290 { "wxMenu_GetTitle", _wrap_wxMenu_GetTitle
, 1 },
4291 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
4292 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
4293 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
4294 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
4295 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
4296 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
4297 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
4298 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
4299 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
4300 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
4301 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
4302 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
4303 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
4304 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
4305 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
4306 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
4307 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
4308 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
4309 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
4310 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
4311 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
4312 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
4313 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
4314 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
4315 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
4316 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
4317 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
4318 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
4319 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
4320 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
4321 { "wxWindow_WarpPointer", _wrap_wxWindow_WarpPointer
, 1 },
4322 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
4323 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
4324 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
4325 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
4326 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
4327 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
4328 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
4329 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
4330 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
4331 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
4332 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
4333 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
4334 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
4335 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
4336 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
4337 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
4338 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
4339 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
4340 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
4341 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
4342 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
4343 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
4344 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
4345 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
4346 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
4347 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
4348 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
4349 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
4350 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
4351 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
4352 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
4353 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
4354 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
4355 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
4356 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
4357 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
4358 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
4359 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
4360 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
4361 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
4362 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
4363 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
4364 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
4365 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
4366 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
4367 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
4368 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
4369 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
4370 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
4371 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
4372 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
4373 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
4374 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
4375 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
4376 { "wxWindow_GetDefaultItem", _wrap_wxWindow_GetDefaultItem
, 1 },
4377 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
4378 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
4379 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
4380 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
4381 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
4382 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
4383 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
4384 { "wxWindow_FindWindowByID", _wrap_wxWindow_FindWindowByID
, 1 },
4385 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
4386 { "wxWindow_DragAcceptFiles", _wrap_wxWindow_DragAcceptFiles
, 1 },
4387 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
4388 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
4389 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
4390 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
4391 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
4392 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
4393 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
4394 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
4395 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
4396 { "wxWindow_FindFocus", _wrap_wxWindow_FindFocus
, 1 },
4399 static PyObject
*SWIG_globals
;
4403 SWIGEXPORT(void,initwindowsc
)() {
4405 SWIG_globals
= SWIG_newvarlink();
4406 m
= Py_InitModule("windowsc", windowscMethods
);
4407 d
= PyModule_GetDict(m
);
4409 * These are the pointer type-equivalency mappings.
4410 * (Used by the SWIG pointer type-checker).
4412 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4413 SWIG_RegisterMapping("_signed_long","_long",0);
4414 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4415 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4416 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4417 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4418 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4419 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4420 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4421 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4422 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4423 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4424 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4425 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4426 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4427 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4428 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4429 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4430 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4431 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4432 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4433 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4434 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4435 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4436 SWIG_RegisterMapping("_long","_wxDash",0);
4437 SWIG_RegisterMapping("_long","_unsigned_long",0);
4438 SWIG_RegisterMapping("_long","_signed_long",0);
4439 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4440 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4441 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4442 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4443 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4444 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4445 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4446 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4447 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4448 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4449 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4450 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4451 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4452 SWIG_RegisterMapping("_uint","_int",0);
4453 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4454 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4455 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4456 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4457 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",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_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4503 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4504 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4505 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4506 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
4507 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4508 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4509 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4510 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4511 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4512 SWIG_RegisterMapping("_unsigned_int","_int",0);
4513 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4514 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4515 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4516 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4517 SWIG_RegisterMapping("_short","_WXTYPE",0);
4518 SWIG_RegisterMapping("_short","_unsigned_short",0);
4519 SWIG_RegisterMapping("_short","_signed_short",0);
4520 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4521 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4522 SWIG_RegisterMapping("_wxWindowID","_int",0);
4523 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4524 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4525 SWIG_RegisterMapping("_int","_EBool",0);
4526 SWIG_RegisterMapping("_int","_uint",0);
4527 SWIG_RegisterMapping("_int","_wxWindowID",0);
4528 SWIG_RegisterMapping("_int","_unsigned_int",0);
4529 SWIG_RegisterMapping("_int","_signed_int",0);
4530 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4531 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
4532 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4533 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4534 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4535 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4536 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4537 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4538 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4539 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4540 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4541 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4542 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4543 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4544 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4545 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4546 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4547 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4548 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4549 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4550 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4551 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4552 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4553 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4554 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4555 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4556 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4557 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4558 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4559 SWIG_RegisterMapping("_wxDash","_long",0);
4560 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4561 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4562 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4563 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4564 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4565 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4566 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4567 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);