2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
59 // wxGTK defines wxMenuItem inside menu.h
60 #include <wx/menuitem.h>
64 #include <wx/minifram.h>
67 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyList_Check(target
)) {
78 target
= PyList_New(0);
79 PyList_Append(target
, o2
);
82 PyList_Append(target
,o
);
88 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
94 } else if (target
== Py_None
) {
98 if (!PyTuple_Check(target
)) {
100 target
= PyTuple_New(1);
101 PyTuple_SetItem(target
, 0, o2
);
104 PyTuple_SetItem(o3
, 0, o
);
107 target
= PySequence_Concat(o2
, o3
);
115 extern int* int_LIST_helper(PyObject
* source
);
116 extern long* long_LIST_helper(PyObject
* source
);
117 extern char** string_LIST_helper(PyObject
* source
);
118 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
119 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
120 extern wxString
* wxString_LIST_helper(PyObject
* source
);
122 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
126 static char* wxStringErrorMsg
= "string type is required for parameter";
127 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
128 if (PyCallable_Check(func
)) {
129 self
->Connect(id
, lastId
, eventType
,
130 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
131 new wxPyCallback(func
));
134 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
135 PyObject
* _resultobj
;
136 wxEvtHandler
* _arg0
;
142 PyObject
* _obj4
= 0;
145 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
148 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
156 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
158 _resultobj
= Py_None
;
162 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
165 src
= (wxWindow
*) ptr
;
166 dest
= (wxEvtHandler
*) src
;
167 return (void *) dest
;
170 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
171 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
172 PyObject
* _resultobj
;
176 wxPoint
* _arg2
= &wxPyDefaultPosition
;
177 wxSize
* _arg3
= &wxPyDefaultSize
;
179 char * _arg5
= "panel";
186 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
189 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
195 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
201 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
206 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
208 _resultobj
= Py_BuildValue("s",_ptemp
);
212 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
213 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
214 PyObject
* _resultobj
;
219 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
222 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
227 wxWindow_CaptureMouse(_arg0
);
229 _resultobj
= Py_None
;
233 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
234 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
235 PyObject
* _resultobj
;
237 int _arg1
= (wxHORIZONTAL
);
241 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
244 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
249 wxWindow_Center(_arg0
,_arg1
);
251 _resultobj
= Py_None
;
255 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
256 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
257 PyObject
* _resultobj
;
259 int _arg1
= (wxHORIZONTAL
);
263 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
266 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
271 wxWindow_Centre(_arg0
,_arg1
);
273 _resultobj
= Py_None
;
277 #define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
278 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
279 PyObject
* _resultobj
;
285 PyObject
* _obj1
= 0;
287 PyObject
* _obj2
= 0;
290 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreen",&_argc0
,&_obj1
,&_obj2
))
293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
299 temp
= (int) PyInt_AsLong(_obj1
);
303 temp0
= (int) PyInt_AsLong(_obj2
);
306 wxWindow_ClientToScreen(_arg0
,_arg1
,_arg2
);
308 _resultobj
= Py_None
;
311 o
= PyInt_FromLong((long) (*_arg1
));
312 _resultobj
= t_output_helper(_resultobj
, o
);
316 o
= PyInt_FromLong((long) (*_arg2
));
317 _resultobj
= t_output_helper(_resultobj
, o
);
322 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
323 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
324 PyObject
* _resultobj
;
331 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
334 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
339 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
340 _resultobj
= Py_BuildValue("i",_result
);
344 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
345 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
346 PyObject
* _resultobj
;
352 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
355 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
360 _result
= (bool )wxWindow_Destroy(_arg0
);
361 _resultobj
= Py_BuildValue("i",_result
);
365 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
366 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
367 PyObject
* _resultobj
;
372 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
375 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
380 wxWindow_DestroyChildren(_arg0
);
382 _resultobj
= Py_None
;
386 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
387 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
388 PyObject
* _resultobj
;
395 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
398 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
403 _arg1
= (bool ) tempbool1
;
404 wxWindow_Enable(_arg0
,_arg1
);
406 _resultobj
= Py_None
;
410 #define wxWindow_FindWindowByID(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
411 static PyObject
*_wrap_wxWindow_FindWindowByID(PyObject
*self
, PyObject
*args
) {
412 PyObject
* _resultobj
;
420 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowByID",&_argc0
,&_arg1
))
423 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByID. Expected _wxWindow_p.");
428 _result
= (wxWindow
*)wxWindow_FindWindowByID(_arg0
,_arg1
);
429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
430 _resultobj
= Py_BuildValue("s",_ptemp
);
434 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
435 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
436 PyObject
* _resultobj
;
441 PyObject
* _obj1
= 0;
445 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
448 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
454 if (!PyString_Check(_obj1
)) {
455 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
458 _arg1
= new wxString(PyString_AsString(_obj1
));
460 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
462 _resultobj
= Py_BuildValue("s",_ptemp
);
470 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
471 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
472 PyObject
* _resultobj
;
477 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
480 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
487 _resultobj
= Py_None
;
491 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
492 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
493 PyObject
* _resultobj
;
500 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
503 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
508 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
509 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
510 _resultobj
= Py_BuildValue("s",_ptemp
);
514 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
515 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
516 PyObject
* _resultobj
;
522 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
525 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
530 _result
= (int )wxWindow_GetCharHeight(_arg0
);
531 _resultobj
= Py_BuildValue("i",_result
);
535 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
536 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
537 PyObject
* _resultobj
;
543 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
546 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
551 _result
= (int )wxWindow_GetCharWidth(_arg0
);
552 _resultobj
= Py_BuildValue("i",_result
);
556 #define wxWindow_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
557 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
558 PyObject
* _resultobj
;
573 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
576 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
581 wxWindow_GetClientSize(_arg0
,_arg1
,_arg2
);
583 _resultobj
= Py_None
;
586 o
= PyInt_FromLong((long) (*_arg1
));
587 _resultobj
= t_output_helper(_resultobj
, o
);
591 o
= PyInt_FromLong((long) (*_arg2
));
592 _resultobj
= t_output_helper(_resultobj
, o
);
597 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
598 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
599 PyObject
* _resultobj
;
600 wxLayoutConstraints
* _result
;
606 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
609 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
614 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
616 _resultobj
= Py_BuildValue("s",_ptemp
);
620 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
621 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
622 PyObject
* _resultobj
;
629 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
632 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
637 _result
= (wxFont
*)wxWindow_GetFont(_arg0
);
638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
639 _resultobj
= Py_BuildValue("s",_ptemp
);
643 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
644 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
645 PyObject
* _resultobj
;
652 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
655 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
660 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
661 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
662 _resultobj
= Py_BuildValue("s",_ptemp
);
666 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
667 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
668 PyObject
* _resultobj
;
675 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
678 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
683 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
685 _resultobj
= Py_BuildValue("s",_ptemp
);
689 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
690 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
691 PyObject
* _resultobj
;
697 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
700 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
705 _result
= (int )wxWindow_GetId(_arg0
);
706 _resultobj
= Py_BuildValue("i",_result
);
710 #define wxWindow_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
711 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
) {
712 PyObject
* _resultobj
;
727 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPosition",&_argc0
))
730 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
735 wxWindow_GetPosition(_arg0
,_arg1
,_arg2
);
737 _resultobj
= Py_None
;
740 o
= PyInt_FromLong((long) (*_arg1
));
741 _resultobj
= t_output_helper(_resultobj
, o
);
745 o
= PyInt_FromLong((long) (*_arg2
));
746 _resultobj
= t_output_helper(_resultobj
, o
);
751 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
752 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
753 PyObject
* _resultobj
;
759 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
762 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
767 _result
= new wxString (wxWindow_GetLabel(_arg0
));
769 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
777 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
778 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
779 PyObject
* _resultobj
;
785 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
788 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
793 _result
= new wxString (wxWindow_GetName(_arg0
));
795 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
803 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
804 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
805 PyObject
* _resultobj
;
812 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
815 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
820 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
821 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
822 _resultobj
= Py_BuildValue("s",_ptemp
);
826 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
827 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
828 PyObject
* _resultobj
;
834 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
837 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
842 _result
= (int )wxWindow_GetReturnCode(_arg0
);
843 _resultobj
= Py_BuildValue("i",_result
);
847 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
848 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
849 PyObject
* _resultobj
;
856 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
859 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
864 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
865 _resultobj
= Py_BuildValue("i",_result
);
869 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
870 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
871 PyObject
* _resultobj
;
878 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
881 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
886 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
887 _resultobj
= Py_BuildValue("i",_result
);
891 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
892 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
893 PyObject
* _resultobj
;
900 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
903 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
908 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
909 _resultobj
= Py_BuildValue("i",_result
);
913 #define wxWindow_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
914 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
) {
915 PyObject
* _resultobj
;
930 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSize",&_argc0
))
933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
938 wxWindow_GetSize(_arg0
,_arg1
,_arg2
);
940 _resultobj
= Py_None
;
943 o
= PyInt_FromLong((long) (*_arg1
));
944 _resultobj
= t_output_helper(_resultobj
, o
);
948 o
= PyInt_FromLong((long) (*_arg2
));
949 _resultobj
= t_output_helper(_resultobj
, o
);
954 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
955 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
956 PyObject
* _resultobj
;
964 PyObject
* _obj1
= 0;
973 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
976 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
982 if (!PyString_Check(_obj1
)) {
983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
986 _arg1
= new wxString(PyString_AsString(_obj1
));
988 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
990 _resultobj
= Py_None
;
993 o
= PyInt_FromLong((long) (*_arg2
));
994 _resultobj
= t_output_helper(_resultobj
, o
);
998 o
= PyInt_FromLong((long) (*_arg3
));
999 _resultobj
= t_output_helper(_resultobj
, o
);
1008 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1009 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1010 PyObject
* _resultobj
;
1016 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1024 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1026 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1034 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1035 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1036 PyObject
* _resultobj
;
1042 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1045 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1050 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1051 _resultobj
= Py_BuildValue("l",_result
);
1055 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1056 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1057 PyObject
* _resultobj
;
1062 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1065 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1070 wxWindow_InitDialog(_arg0
);
1072 _resultobj
= Py_None
;
1076 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1077 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1078 PyObject
* _resultobj
;
1084 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1087 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1092 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1093 _resultobj
= Py_BuildValue("i",_result
);
1097 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1098 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1099 PyObject
* _resultobj
;
1105 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1108 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1113 _result
= (bool )wxWindow_IsRetained(_arg0
);
1114 _resultobj
= Py_BuildValue("i",_result
);
1118 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1119 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1120 PyObject
* _resultobj
;
1126 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1134 _result
= (bool )wxWindow_IsShown(_arg0
);
1135 _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1140 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1141 PyObject
* _resultobj
;
1146 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1149 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1154 wxWindow_Layout(_arg0
);
1156 _resultobj
= Py_None
;
1160 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1161 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1162 PyObject
* _resultobj
;
1167 wxResourceTable
* _arg3
= NULL
;
1170 PyObject
* _obj2
= 0;
1174 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1183 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1189 if (!PyString_Check(_obj2
)) {
1190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1193 _arg2
= new wxString(PyString_AsString(_obj2
));
1196 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1201 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1202 _resultobj
= Py_BuildValue("i",_result
);
1210 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1211 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1212 PyObject
* _resultobj
;
1217 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1225 wxWindow_Lower(_arg0
);
1227 _resultobj
= Py_None
;
1231 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1232 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1233 PyObject
* _resultobj
;
1240 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1248 _arg1
= (bool ) tempbool1
;
1249 wxWindow_MakeModal(_arg0
,_arg1
);
1251 _resultobj
= Py_None
;
1255 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1256 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1257 PyObject
* _resultobj
;
1264 if(!PyArg_ParseTuple(args
,"sii:wxWindow_Move",&_argc0
,&_arg1
,&_arg2
))
1267 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1272 wxWindow_Move(_arg0
,_arg1
,_arg2
);
1274 _resultobj
= Py_None
;
1278 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1279 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1280 PyObject
* _resultobj
;
1290 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1299 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1304 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1305 _resultobj
= Py_BuildValue("i",_result
);
1309 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1310 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1311 PyObject
* _resultobj
;
1316 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1319 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1324 wxWindow_Raise(_arg0
);
1326 _resultobj
= Py_None
;
1330 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1331 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1332 PyObject
* _resultobj
;
1335 wxRect
* _arg2
= NULL
;
1341 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1344 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1349 _arg1
= (bool ) tempbool1
;
1351 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1356 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1358 _resultobj
= Py_None
;
1362 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1363 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1364 PyObject
* _resultobj
;
1369 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1372 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1377 wxWindow_ReleaseMouse(_arg0
);
1379 _resultobj
= Py_None
;
1383 #define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1384 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
1385 PyObject
* _resultobj
;
1391 PyObject
* _obj1
= 0;
1393 PyObject
* _obj2
= 0;
1396 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClient",&_argc0
,&_obj1
,&_obj2
))
1399 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
1405 temp
= (int) PyInt_AsLong(_obj1
);
1409 temp0
= (int) PyInt_AsLong(_obj2
);
1412 wxWindow_ScreenToClient(_arg0
,_arg1
,_arg2
);
1414 _resultobj
= Py_None
;
1417 o
= PyInt_FromLong((long) (*_arg1
));
1418 _resultobj
= t_output_helper(_resultobj
, o
);
1422 o
= PyInt_FromLong((long) (*_arg2
));
1423 _resultobj
= t_output_helper(_resultobj
, o
);
1428 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1429 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1430 PyObject
* _resultobj
;
1434 wxRect
* _arg3
= NULL
;
1439 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1442 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1448 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1453 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1455 _resultobj
= Py_None
;
1459 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1460 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1461 PyObject
* _resultobj
;
1468 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1471 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1476 _arg1
= (bool ) tempbool1
;
1477 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1479 _resultobj
= Py_None
;
1483 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1484 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1485 PyObject
* _resultobj
;
1492 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1495 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1501 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1506 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1508 _resultobj
= Py_None
;
1512 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1513 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1514 PyObject
* _resultobj
;
1516 wxLayoutConstraints
* _arg1
;
1521 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1530 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1535 wxWindow_SetConstraints(_arg0
,_arg1
);
1537 _resultobj
= Py_None
;
1541 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1542 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1543 PyObject
* _resultobj
;
1550 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1553 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1558 _arg1
= (bool ) tempbool1
;
1559 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1561 _resultobj
= Py_None
;
1565 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1566 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1567 PyObject
* _resultobj
;
1572 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1575 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1580 wxWindow_SetFocus(_arg0
);
1582 _resultobj
= Py_None
;
1586 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1587 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1588 PyObject
* _resultobj
;
1595 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1604 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1609 wxWindow_SetFont(_arg0
,*_arg1
);
1611 _resultobj
= Py_None
;
1615 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1616 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1617 PyObject
* _resultobj
;
1624 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1627 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
1633 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
1638 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
1640 _resultobj
= Py_None
;
1644 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1645 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
1646 PyObject
* _resultobj
;
1652 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
1655 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
1660 wxWindow_SetId(_arg0
,_arg1
);
1662 _resultobj
= Py_None
;
1666 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
1667 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
1668 PyObject
* _resultobj
;
1672 PyObject
* _obj1
= 0;
1675 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
1678 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
1684 if (!PyString_Check(_obj1
)) {
1685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1688 _arg1
= new wxString(PyString_AsString(_obj1
));
1690 wxWindow_SetName(_arg0
,*_arg1
);
1692 _resultobj
= Py_None
;
1700 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1701 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
1702 PyObject
* _resultobj
;
1708 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
1711 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
1716 wxWindow_SetReturnCode(_arg0
,_arg1
);
1718 _resultobj
= Py_None
;
1722 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1723 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
1724 PyObject
* _resultobj
;
1735 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
1738 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
1743 _arg5
= (bool ) tempbool5
;
1744 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1746 _resultobj
= Py_None
;
1750 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
1751 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
1752 PyObject
* _resultobj
;
1761 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1764 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
1769 _arg3
= (bool ) tempbool3
;
1770 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
1772 _resultobj
= Py_None
;
1776 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1777 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
1778 PyObject
* _resultobj
;
1784 int _arg5
= (wxSIZE_AUTO
);
1788 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1791 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
1796 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1798 _resultobj
= Py_None
;
1802 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
1803 self
->SetSize(size
.x
, size
.y
);
1805 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
1806 PyObject
* _resultobj
;
1813 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
1816 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
1822 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
1827 wxWindow_SetSize(_arg0
,*_arg1
);
1829 _resultobj
= Py_None
;
1833 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
1834 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
1836 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
1837 PyObject
* _resultobj
;
1844 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
1847 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
1853 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
1858 wxWindow_SetPosition(_arg0
,*_arg1
);
1860 _resultobj
= Py_None
;
1864 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1865 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
1866 PyObject
* _resultobj
;
1877 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1880 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
1885 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1887 _resultobj
= Py_None
;
1891 #define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
1892 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
1893 PyObject
* _resultobj
;
1900 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSize",&_argc0
,&_arg1
,&_arg2
))
1903 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
1908 wxWindow_SetClientSize(_arg0
,_arg1
,_arg2
);
1910 _resultobj
= Py_None
;
1914 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
1915 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
1916 PyObject
* _resultobj
;
1923 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
1926 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
1932 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
1937 wxWindow_SetCursor(_arg0
,*_arg1
);
1939 _resultobj
= Py_None
;
1943 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
1944 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
1945 PyObject
* _resultobj
;
1949 PyObject
* _obj1
= 0;
1952 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
1955 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
1961 if (!PyString_Check(_obj1
)) {
1962 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1965 _arg1
= new wxString(PyString_AsString(_obj1
));
1967 wxWindow_SetTitle(_arg0
,*_arg1
);
1969 _resultobj
= Py_None
;
1977 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1978 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
1979 PyObject
* _resultobj
;
1987 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
1990 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
1995 _arg1
= (bool ) tempbool1
;
1996 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
1997 _resultobj
= Py_BuildValue("i",_result
);
2001 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2002 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2003 PyObject
* _resultobj
;
2009 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2012 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2017 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2018 _resultobj
= Py_BuildValue("i",_result
);
2022 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2023 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2024 PyObject
* _resultobj
;
2030 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2033 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2038 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2039 _resultobj
= Py_BuildValue("i",_result
);
2043 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2044 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2045 PyObject
* _resultobj
;
2051 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2054 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2059 _result
= (bool )wxWindow_Validate(_arg0
);
2060 _resultobj
= Py_BuildValue("i",_result
);
2064 static void *SwigwxFrameTowxWindow(void *ptr
) {
2067 src
= (wxFrame
*) ptr
;
2068 dest
= (wxWindow
*) src
;
2069 return (void *) dest
;
2072 static void *SwigwxFrameTowxEvtHandler(void *ptr
) {
2075 src
= (wxFrame
*) ptr
;
2076 dest
= (wxEvtHandler
*) src
;
2077 return (void *) dest
;
2080 #define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2081 static PyObject
*_wrap_new_wxFrame(PyObject
*self
, PyObject
*args
) {
2082 PyObject
* _resultobj
;
2087 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2088 wxSize
* _arg4
= &wxPyDefaultSize
;
2089 long _arg5
= (wxDEFAULT_FRAME_STYLE
);
2090 char * _arg6
= "frame";
2092 PyObject
* _obj2
= 0;
2098 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxFrame",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.");
2107 if (!PyString_Check(_obj2
)) {
2108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2111 _arg2
= new wxString(PyString_AsString(_obj2
));
2114 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxFrame. Expected _wxPoint_p.");
2120 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxFrame. Expected _wxSize_p.");
2125 _result
= (wxFrame
*)new_wxFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2126 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
2127 _resultobj
= Py_BuildValue("s",_ptemp
);
2135 #define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2136 static PyObject
*_wrap_wxFrame_Centre(PyObject
*self
, PyObject
*args
) {
2137 PyObject
* _resultobj
;
2139 int _arg1
= (wxBOTH
);
2143 if(!PyArg_ParseTuple(args
,"s|i:wxFrame_Centre",&_argc0
,&_arg1
))
2146 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Centre. Expected _wxFrame_p.");
2151 wxFrame_Centre(_arg0
,_arg1
);
2153 _resultobj
= Py_None
;
2157 #define wxFrame_CreateStatusBar(_swigobj,_swigarg0) (_swigobj->CreateStatusBar(_swigarg0))
2158 static PyObject
*_wrap_wxFrame_CreateStatusBar(PyObject
*self
, PyObject
*args
) {
2159 PyObject
* _resultobj
;
2166 if(!PyArg_ParseTuple(args
,"s|i:wxFrame_CreateStatusBar",&_argc0
,&_arg1
))
2169 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_CreateStatusBar. Expected _wxFrame_p.");
2174 _result
= (bool )wxFrame_CreateStatusBar(_arg0
,_arg1
);
2175 _resultobj
= Py_BuildValue("i",_result
);
2179 #define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
2180 static PyObject
*_wrap_wxFrame_GetMenuBar(PyObject
*self
, PyObject
*args
) {
2181 PyObject
* _resultobj
;
2182 wxMenuBar
* _result
;
2188 if(!PyArg_ParseTuple(args
,"s:wxFrame_GetMenuBar",&_argc0
))
2191 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetMenuBar. Expected _wxFrame_p.");
2196 _result
= (wxMenuBar
*)wxFrame_GetMenuBar(_arg0
);
2197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
2198 _resultobj
= Py_BuildValue("s",_ptemp
);
2202 #define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
2203 static PyObject
*_wrap_wxFrame_GetStatusBar(PyObject
*self
, PyObject
*args
) {
2204 PyObject
* _resultobj
;
2205 wxStatusBar
* _result
;
2211 if(!PyArg_ParseTuple(args
,"s:wxFrame_GetStatusBar",&_argc0
))
2214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetStatusBar. Expected _wxFrame_p.");
2219 _result
= (wxStatusBar
*)wxFrame_GetStatusBar(_arg0
);
2220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
2221 _resultobj
= Py_BuildValue("s",_ptemp
);
2225 #define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
2226 static PyObject
*_wrap_wxFrame_GetTitle(PyObject
*self
, PyObject
*args
) {
2227 PyObject
* _resultobj
;
2233 if(!PyArg_ParseTuple(args
,"s:wxFrame_GetTitle",&_argc0
))
2236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_GetTitle. Expected _wxFrame_p.");
2241 _result
= new wxString (wxFrame_GetTitle(_arg0
));
2243 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2251 #define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2252 static PyObject
*_wrap_wxFrame_Iconize(PyObject
*self
, PyObject
*args
) {
2253 PyObject
* _resultobj
;
2260 if(!PyArg_ParseTuple(args
,"si:wxFrame_Iconize",&_argc0
,&tempbool1
))
2263 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Iconize. Expected _wxFrame_p.");
2268 _arg1
= (bool ) tempbool1
;
2269 wxFrame_Iconize(_arg0
,_arg1
);
2271 _resultobj
= Py_None
;
2275 #define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
2276 static PyObject
*_wrap_wxFrame_IsIconized(PyObject
*self
, PyObject
*args
) {
2277 PyObject
* _resultobj
;
2283 if(!PyArg_ParseTuple(args
,"s:wxFrame_IsIconized",&_argc0
))
2286 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_IsIconized. Expected _wxFrame_p.");
2291 _result
= (bool )wxFrame_IsIconized(_arg0
);
2292 _resultobj
= Py_BuildValue("i",_result
);
2296 #define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
2297 static PyObject
*_wrap_wxFrame_Maximize(PyObject
*self
, PyObject
*args
) {
2298 PyObject
* _resultobj
;
2305 if(!PyArg_ParseTuple(args
,"si:wxFrame_Maximize",&_argc0
,&tempbool1
))
2308 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_Maximize. Expected _wxFrame_p.");
2313 _arg1
= (bool ) tempbool1
;
2314 wxFrame_Maximize(_arg0
,_arg1
);
2316 _resultobj
= Py_None
;
2320 #define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
2321 static PyObject
*_wrap_wxFrame_SetIcon(PyObject
*self
, PyObject
*args
) {
2322 PyObject
* _resultobj
;
2329 if(!PyArg_ParseTuple(args
,"ss:wxFrame_SetIcon",&_argc0
,&_argc1
))
2332 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetIcon. Expected _wxFrame_p.");
2338 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
2339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetIcon. Expected _wxIcon_p.");
2343 wxFrame_SetIcon(_arg0
,*_arg1
);
2345 _resultobj
= Py_None
;
2349 #define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
2350 static PyObject
*_wrap_wxFrame_SetMenuBar(PyObject
*self
, PyObject
*args
) {
2351 PyObject
* _resultobj
;
2358 if(!PyArg_ParseTuple(args
,"ss:wxFrame_SetMenuBar",&_argc0
,&_argc1
))
2361 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetMenuBar. Expected _wxFrame_p.");
2367 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenuBar_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFrame_SetMenuBar. Expected _wxMenuBar_p.");
2372 wxFrame_SetMenuBar(_arg0
,_arg1
);
2374 _resultobj
= Py_None
;
2378 #define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
2379 static PyObject
*_wrap_wxFrame_SetStatusText(PyObject
*self
, PyObject
*args
) {
2380 PyObject
* _resultobj
;
2385 PyObject
* _obj1
= 0;
2388 if(!PyArg_ParseTuple(args
,"sO|i:wxFrame_SetStatusText",&_argc0
,&_obj1
,&_arg2
))
2391 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusText. Expected _wxFrame_p.");
2397 if (!PyString_Check(_obj1
)) {
2398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2401 _arg1
= new wxString(PyString_AsString(_obj1
));
2403 wxFrame_SetStatusText(_arg0
,*_arg1
,_arg2
);
2405 _resultobj
= Py_None
;
2413 #define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
2414 static PyObject
*_wrap_wxFrame_SetStatusWidths(PyObject
*self
, PyObject
*args
) {
2415 PyObject
* _resultobj
;
2420 PyObject
* _obj2
= 0;
2423 if(!PyArg_ParseTuple(args
,"sO:wxFrame_SetStatusWidths",&_argc0
,&_obj2
))
2426 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetStatusWidths. Expected _wxFrame_p.");
2433 _arg2
= int_LIST_helper(_obj2
);
2434 if (_arg2
== NULL
) {
2439 _arg1
= PyList_Size(_obj2
);
2441 wxFrame_SetStatusWidths(_arg0
,_arg1
,_arg2
);
2443 _resultobj
= Py_None
;
2450 #define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2451 static PyObject
*_wrap_wxFrame_SetTitle(PyObject
*self
, PyObject
*args
) {
2452 PyObject
* _resultobj
;
2456 PyObject
* _obj1
= 0;
2459 if(!PyArg_ParseTuple(args
,"sO:wxFrame_SetTitle",&_argc0
,&_obj1
))
2462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFrame_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFrame_SetTitle. Expected _wxFrame_p.");
2468 if (!PyString_Check(_obj1
)) {
2469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2472 _arg1
= new wxString(PyString_AsString(_obj1
));
2474 wxFrame_SetTitle(_arg0
,*_arg1
);
2476 _resultobj
= Py_None
;
2484 static void *SwigwxPanelTowxWindow(void *ptr
) {
2487 src
= (wxPanel
*) ptr
;
2488 dest
= (wxWindow
*) src
;
2489 return (void *) dest
;
2492 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2495 src
= (wxPanel
*) ptr
;
2496 dest
= (wxEvtHandler
*) src
;
2497 return (void *) dest
;
2500 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2501 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2502 PyObject
* _resultobj
;
2506 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2507 wxSize
* _arg3
= &wxPyDefaultSize
;
2508 long _arg4
= (wxTAB_TRAVERSAL
);
2509 char * _arg5
= "panel";
2516 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2519 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2525 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2531 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2536 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2537 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2538 _resultobj
= Py_BuildValue("s",_ptemp
);
2542 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2543 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2544 PyObject
* _resultobj
;
2549 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2557 wxPanel_InitDialog(_arg0
);
2559 _resultobj
= Py_None
;
2563 static void *SwigwxDialogTowxPanel(void *ptr
) {
2566 src
= (wxDialog
*) ptr
;
2567 dest
= (wxPanel
*) src
;
2568 return (void *) dest
;
2571 static void *SwigwxDialogTowxWindow(void *ptr
) {
2574 src
= (wxDialog
*) ptr
;
2575 dest
= (wxWindow
*) src
;
2576 return (void *) dest
;
2579 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2582 src
= (wxDialog
*) ptr
;
2583 dest
= (wxEvtHandler
*) src
;
2584 return (void *) dest
;
2587 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2588 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2589 PyObject
* _resultobj
;
2594 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2595 wxSize
* _arg4
= &wxPyDefaultSize
;
2596 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2597 char * _arg6
= "dialogBox";
2599 PyObject
* _obj2
= 0;
2605 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2608 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2614 if (!PyString_Check(_obj2
)) {
2615 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2618 _arg2
= new wxString(PyString_AsString(_obj2
));
2621 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2627 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2632 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2634 _resultobj
= Py_BuildValue("s",_ptemp
);
2642 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2643 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2644 PyObject
* _resultobj
;
2646 int _arg1
= (wxBOTH
);
2650 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2653 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2658 wxDialog_Centre(_arg0
,_arg1
);
2660 _resultobj
= Py_None
;
2664 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2665 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2666 PyObject
* _resultobj
;
2672 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2675 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2680 wxDialog_EndModal(_arg0
,_arg1
);
2682 _resultobj
= Py_None
;
2686 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2687 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2688 PyObject
* _resultobj
;
2694 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2697 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2702 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2704 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2712 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2713 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2714 PyObject
* _resultobj
;
2721 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2724 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2729 _arg1
= (bool ) tempbool1
;
2730 wxDialog_Iconize(_arg0
,_arg1
);
2732 _resultobj
= Py_None
;
2736 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2737 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2738 PyObject
* _resultobj
;
2744 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2752 _result
= (bool )wxDialog_IsIconized(_arg0
);
2753 _resultobj
= Py_BuildValue("i",_result
);
2757 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2758 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2759 PyObject
* _resultobj
;
2766 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2769 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2774 _arg1
= (bool ) tempbool1
;
2775 wxDialog_SetModal(_arg0
,_arg1
);
2777 _resultobj
= Py_None
;
2781 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2782 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2783 PyObject
* _resultobj
;
2789 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
2792 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
2797 _result
= (bool )wxDialog_IsModal(_arg0
);
2798 _resultobj
= Py_BuildValue("i",_result
);
2802 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2803 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
2804 PyObject
* _resultobj
;
2808 PyObject
* _obj1
= 0;
2811 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
2814 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
2820 if (!PyString_Check(_obj1
)) {
2821 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2824 _arg1
= new wxString(PyString_AsString(_obj1
));
2826 wxDialog_SetTitle(_arg0
,*_arg1
);
2828 _resultobj
= Py_None
;
2836 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2837 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
2838 PyObject
* _resultobj
;
2846 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
2849 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
2854 _arg1
= (bool ) tempbool1
;
2855 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
2856 _resultobj
= Py_BuildValue("i",_result
);
2860 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2861 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2862 PyObject
* _resultobj
;
2868 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
2871 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
2876 _result
= (int )wxDialog_ShowModal(_arg0
);
2877 _resultobj
= Py_BuildValue("i",_result
);
2881 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
2882 wxScrolledWindow
*src
;
2884 src
= (wxScrolledWindow
*) ptr
;
2885 dest
= (wxWindow
*) src
;
2886 return (void *) dest
;
2889 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
2890 wxScrolledWindow
*src
;
2892 src
= (wxScrolledWindow
*) ptr
;
2893 dest
= (wxEvtHandler
*) src
;
2894 return (void *) dest
;
2897 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2898 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
2899 PyObject
* _resultobj
;
2900 wxScrolledWindow
* _result
;
2902 wxWindowID _arg1
= -1;
2903 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2904 wxSize
* _arg3
= &wxPyDefaultSize
;
2905 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
2906 char * _arg5
= "scrolledWindow";
2913 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2916 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
2922 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
2928 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
2933 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
2935 _resultobj
= Py_BuildValue("s",_ptemp
);
2939 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
2940 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
2941 PyObject
* _resultobj
;
2942 wxScrolledWindow
* _arg0
;
2950 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
2953 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
2958 _arg1
= (bool ) tempbool1
;
2959 _arg2
= (bool ) tempbool2
;
2960 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
2962 _resultobj
= Py_None
;
2966 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
2967 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
2968 PyObject
* _resultobj
;
2969 wxScrolledWindow
* _arg0
;
2983 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
2986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
2991 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
2993 _resultobj
= Py_None
;
2996 o
= PyInt_FromLong((long) (*_arg1
));
2997 _resultobj
= t_output_helper(_resultobj
, o
);
3001 o
= PyInt_FromLong((long) (*_arg2
));
3002 _resultobj
= t_output_helper(_resultobj
, o
);
3007 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
3008 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
3009 PyObject
* _resultobj
;
3010 wxScrolledWindow
* _arg0
;
3024 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
3027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
3032 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
3034 _resultobj
= Py_None
;
3037 o
= PyInt_FromLong((long) (*_arg1
));
3038 _resultobj
= t_output_helper(_resultobj
, o
);
3042 o
= PyInt_FromLong((long) (*_arg2
));
3043 _resultobj
= t_output_helper(_resultobj
, o
);
3048 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3049 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
3050 PyObject
* _resultobj
;
3052 wxScrolledWindow
* _arg0
;
3056 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
3059 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
3064 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
3065 _resultobj
= Py_BuildValue("i",_result
);
3069 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
3070 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
3071 PyObject
* _resultobj
;
3072 wxScrolledWindow
* _arg0
;
3078 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
3081 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
3087 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
3092 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
3094 _resultobj
= Py_None
;
3098 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
3099 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
3100 PyObject
* _resultobj
;
3101 wxScrolledWindow
* _arg0
;
3107 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
3110 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
3115 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
3117 _resultobj
= Py_None
;
3121 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3122 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
3123 PyObject
* _resultobj
;
3124 wxScrolledWindow
* _arg0
;
3134 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
3142 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3144 _resultobj
= Py_None
;
3148 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
3149 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
3150 PyObject
* _resultobj
;
3151 wxScrolledWindow
* _arg0
;
3165 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
3168 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
3173 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
3175 _resultobj
= Py_None
;
3178 o
= PyInt_FromLong((long) (*_arg1
));
3179 _resultobj
= t_output_helper(_resultobj
, o
);
3183 o
= PyInt_FromLong((long) (*_arg2
));
3184 _resultobj
= t_output_helper(_resultobj
, o
);
3189 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
3192 src
= (wxMenu
*) ptr
;
3193 dest
= (wxEvtHandler
*) src
;
3194 return (void *) dest
;
3197 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
3198 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
3199 PyObject
* _resultobj
;
3201 wxString
* _arg0
= &wxPyEmptyStr
;
3202 PyObject
* _obj0
= 0;
3206 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
3210 if (!PyString_Check(_obj0
)) {
3211 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3214 _arg0
= new wxString(PyString_AsString(_obj0
));
3216 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
3217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3218 _resultobj
= Py_BuildValue("s",_ptemp
);
3226 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3227 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
3228 PyObject
* _resultobj
;
3232 wxString
* _arg3
= &wxPyEmptyStr
;
3235 PyObject
* _obj2
= 0;
3236 PyObject
* _obj3
= 0;
3239 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3242 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3248 if (!PyString_Check(_obj2
)) {
3249 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3252 _arg2
= new wxString(PyString_AsString(_obj2
));
3256 if (!PyString_Check(_obj3
)) {
3257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3260 _arg3
= new wxString(PyString_AsString(_obj3
));
3262 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3264 _resultobj
= Py_None
;
3276 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3277 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3278 PyObject
* _resultobj
;
3283 wxString
* _arg4
= &wxPyEmptyStr
;
3285 PyObject
* _obj2
= 0;
3287 PyObject
* _obj4
= 0;
3290 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
3293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3299 if (!PyString_Check(_obj2
)) {
3300 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3303 _arg2
= new wxString(PyString_AsString(_obj2
));
3306 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3313 if (!PyString_Check(_obj4
)) {
3314 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3317 _arg4
= new wxString(PyString_AsString(_obj4
));
3319 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
3321 _resultobj
= Py_None
;
3333 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3334 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3335 PyObject
* _resultobj
;
3340 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3343 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3348 wxMenu_AppendSeparator(_arg0
);
3350 _resultobj
= Py_None
;
3354 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3355 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3356 PyObject
* _resultobj
;
3361 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3364 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3369 wxMenu_Break(_arg0
);
3371 _resultobj
= Py_None
;
3375 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3376 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3377 PyObject
* _resultobj
;
3385 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3388 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3393 _arg2
= (bool ) tempbool2
;
3394 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3396 _resultobj
= Py_None
;
3400 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3401 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3402 PyObject
* _resultobj
;
3410 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3418 _arg2
= (bool ) tempbool2
;
3419 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3421 _resultobj
= Py_None
;
3425 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3426 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3427 PyObject
* _resultobj
;
3432 PyObject
* _obj1
= 0;
3435 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3444 if (!PyString_Check(_obj1
)) {
3445 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3448 _arg1
= new wxString(PyString_AsString(_obj1
));
3450 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3451 _resultobj
= Py_BuildValue("i",_result
);
3459 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3460 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3461 PyObject
* _resultobj
;
3462 wxMenuItem
* _result
;
3469 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3472 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3477 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3479 _resultobj
= Py_BuildValue("s",_ptemp
);
3483 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3484 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3485 PyObject
* _resultobj
;
3492 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3495 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3500 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3502 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3510 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3511 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3512 PyObject
* _resultobj
;
3519 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3527 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3529 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3537 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3538 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3539 PyObject
* _resultobj
;
3544 PyObject
* _obj2
= 0;
3547 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3556 if (!PyString_Check(_obj2
)) {
3557 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3560 _arg2
= new wxString(PyString_AsString(_obj2
));
3562 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3564 _resultobj
= Py_None
;
3572 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3573 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3574 PyObject
* _resultobj
;
3581 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3584 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3589 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3590 _resultobj
= Py_BuildValue("i",_result
);
3594 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3595 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3596 PyObject
* _resultobj
;
3603 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3611 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3612 _resultobj
= Py_BuildValue("i",_result
);
3616 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3617 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3618 PyObject
* _resultobj
;
3623 PyObject
* _obj2
= 0;
3626 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3629 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3635 if (!PyString_Check(_obj2
)) {
3636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3639 _arg2
= new wxString(PyString_AsString(_obj2
));
3641 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3643 _resultobj
= Py_None
;
3651 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3654 src
= (wxPyMenu
*) ptr
;
3655 dest
= (wxMenu
*) src
;
3656 return (void *) dest
;
3659 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3662 src
= (wxPyMenu
*) ptr
;
3663 dest
= (wxEvtHandler
*) src
;
3664 return (void *) dest
;
3667 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3668 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3669 PyObject
* _resultobj
;
3671 wxString
* _arg0
= &wxPyEmptyStr
;
3672 PyObject
* _arg1
= NULL
;
3673 PyObject
* _obj0
= 0;
3674 PyObject
* _obj1
= 0;
3678 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3682 if (!PyString_Check(_obj0
)) {
3683 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3686 _arg0
= new wxString(PyString_AsString(_obj0
));
3692 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3694 _resultobj
= Py_BuildValue("s",_ptemp
);
3702 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
3703 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3704 PyObject
* _resultobj
;
3709 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
3712 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
3717 delete_wxPyMenu(_arg0
);
3719 _resultobj
= Py_None
;
3723 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
3726 src
= (wxMenuBar
*) ptr
;
3727 dest
= (wxEvtHandler
*) src
;
3728 return (void *) dest
;
3731 #define new_wxMenuBar() (new wxMenuBar())
3732 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
3733 PyObject
* _resultobj
;
3734 wxMenuBar
* _result
;
3738 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
3740 _result
= (wxMenuBar
*)new_wxMenuBar();
3741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
3742 _resultobj
= Py_BuildValue("s",_ptemp
);
3746 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
3747 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
3748 PyObject
* _resultobj
;
3754 PyObject
* _obj2
= 0;
3757 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
3760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
3766 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
3772 if (!PyString_Check(_obj2
)) {
3773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3776 _arg2
= new wxString(PyString_AsString(_obj2
));
3778 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
3780 _resultobj
= Py_None
;
3788 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3789 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
3790 PyObject
* _resultobj
;
3798 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
3801 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
3806 _arg2
= (bool ) tempbool2
;
3807 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
3809 _resultobj
= Py_None
;
3813 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
3814 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
3815 PyObject
* _resultobj
;
3822 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
3825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
3830 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
3831 _resultobj
= Py_BuildValue("i",_result
);
3835 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3836 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
3837 PyObject
* _resultobj
;
3845 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
3848 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
3853 _arg2
= (bool ) tempbool2
;
3854 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
3856 _resultobj
= Py_None
;
3860 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
3861 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
3862 PyObject
* _resultobj
;
3869 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
3872 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
3877 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
3878 _resultobj
= Py_BuildValue("i",_result
);
3882 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
3883 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
3884 PyObject
* _resultobj
;
3890 PyObject
* _obj1
= 0;
3891 PyObject
* _obj2
= 0;
3894 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
3897 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
3903 if (!PyString_Check(_obj1
)) {
3904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3907 _arg1
= new wxString(PyString_AsString(_obj1
));
3910 if (!PyString_Check(_obj2
)) {
3911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3914 _arg2
= new wxString(PyString_AsString(_obj2
));
3916 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
3917 _resultobj
= Py_BuildValue("i",_result
);
3929 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindMenuItemById(_swigarg0))
3930 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
3931 PyObject
* _resultobj
;
3932 wxMenuItem
* _result
;
3939 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
3942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
3947 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
3948 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3949 _resultobj
= Py_BuildValue("s",_ptemp
);
3953 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
3954 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
3955 PyObject
* _resultobj
;
3961 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
3964 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
3969 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
3970 _resultobj
= Py_BuildValue("i",_result
);
3974 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
3975 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
3976 PyObject
* _resultobj
;
3984 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
3987 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
3992 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
3993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3994 _resultobj
= Py_BuildValue("s",_ptemp
);
3998 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
3999 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
4000 PyObject
* _resultobj
;
4006 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
4009 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
4014 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
4015 _resultobj
= Py_BuildValue("i",_result
);
4019 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
4020 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
4021 PyObject
* _resultobj
;
4027 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
4030 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
4035 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
4036 _resultobj
= Py_BuildValue("i",_result
);
4040 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
4041 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
4042 PyObject
* _resultobj
;
4048 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
4051 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
4056 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
4057 _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
4062 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
4063 PyObject
* _resultobj
;
4069 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
4072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
4077 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
4078 _resultobj
= Py_BuildValue("i",_result
);
4082 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
4083 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
4084 PyObject
* _resultobj
;
4090 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
4093 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
4098 _result
= (int )wxMenuItem_GetId(_arg0
);
4099 _resultobj
= Py_BuildValue("i",_result
);
4103 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
4104 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
4105 PyObject
* _resultobj
;
4112 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
4115 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
4120 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
4121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4122 _resultobj
= Py_BuildValue("s",_ptemp
);
4126 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
4127 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
4128 PyObject
* _resultobj
;
4134 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
4137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
4142 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
4143 _result
= (wxString
*) &_result_ref
;
4145 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
4150 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
4151 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
4152 PyObject
* _resultobj
;
4156 PyObject
* _obj1
= 0;
4159 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
4162 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
4168 if (!PyString_Check(_obj1
)) {
4169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4172 _arg1
= new wxString(PyString_AsString(_obj1
));
4174 wxMenuItem_SetHelp(_arg0
,*_arg1
);
4176 _resultobj
= Py_None
;
4184 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
4185 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
4186 PyObject
* _resultobj
;
4193 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
4196 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
4201 _arg1
= (bool ) tempbool1
;
4202 wxMenuItem_Enable(_arg0
,_arg1
);
4204 _resultobj
= Py_None
;
4208 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
4209 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
4210 PyObject
* _resultobj
;
4217 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
4220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
4225 _arg1
= (bool ) tempbool1
;
4226 wxMenuItem_Check(_arg0
,_arg1
);
4228 _resultobj
= Py_None
;
4232 static PyMethodDef windowscMethods
[] = {
4233 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
4234 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
4235 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
4236 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
4237 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
4238 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
4239 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
4240 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
4241 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
4242 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
4243 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
4244 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
4245 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
4246 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
4247 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
4248 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
4249 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
4250 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
4251 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
4252 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
4253 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
4254 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
4255 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
4256 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
4257 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
4258 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
4259 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
4260 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
4261 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
4262 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
4263 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
4264 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
4265 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
4266 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
4267 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
4268 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
4269 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
4270 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
4271 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
4272 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
4273 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
4274 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
4275 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
4276 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
4277 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
4278 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
4279 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
4280 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
4281 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
4282 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
4283 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
4284 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
4285 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
4286 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
4287 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
4288 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
4289 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
4290 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
4291 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
4292 { "wxFrame_SetTitle", _wrap_wxFrame_SetTitle
, 1 },
4293 { "wxFrame_SetStatusWidths", _wrap_wxFrame_SetStatusWidths
, 1 },
4294 { "wxFrame_SetStatusText", _wrap_wxFrame_SetStatusText
, 1 },
4295 { "wxFrame_SetMenuBar", _wrap_wxFrame_SetMenuBar
, 1 },
4296 { "wxFrame_SetIcon", _wrap_wxFrame_SetIcon
, 1 },
4297 { "wxFrame_Maximize", _wrap_wxFrame_Maximize
, 1 },
4298 { "wxFrame_IsIconized", _wrap_wxFrame_IsIconized
, 1 },
4299 { "wxFrame_Iconize", _wrap_wxFrame_Iconize
, 1 },
4300 { "wxFrame_GetTitle", _wrap_wxFrame_GetTitle
, 1 },
4301 { "wxFrame_GetStatusBar", _wrap_wxFrame_GetStatusBar
, 1 },
4302 { "wxFrame_GetMenuBar", _wrap_wxFrame_GetMenuBar
, 1 },
4303 { "wxFrame_CreateStatusBar", _wrap_wxFrame_CreateStatusBar
, 1 },
4304 { "wxFrame_Centre", _wrap_wxFrame_Centre
, 1 },
4305 { "new_wxFrame", _wrap_new_wxFrame
, 1 },
4306 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
4307 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
4308 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
4309 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
4310 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
4311 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
4312 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
4313 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
4314 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
4315 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
4316 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
4317 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
4318 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
4319 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
4320 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
4321 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
4322 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
4323 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
4324 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
4325 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
4326 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
4327 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
4328 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
4329 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
4330 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
4331 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
4332 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
4333 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
4334 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
4335 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
4336 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
4337 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
4338 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
4339 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
4340 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
4341 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
4342 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
4343 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
4344 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
4345 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
4346 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
4347 { "wxWindow_GetSize", _wrap_wxWindow_GetSize
, 1 },
4348 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
4349 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
4350 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
4351 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
4352 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
4353 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
4354 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
4355 { "wxWindow_GetPosition", _wrap_wxWindow_GetPosition
, 1 },
4356 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
4357 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
4358 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
4359 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
4360 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
4361 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
4362 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
4363 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
4364 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
4365 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
4366 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
4367 { "wxWindow_FindWindowByID", _wrap_wxWindow_FindWindowByID
, 1 },
4368 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
4369 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
4370 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
4371 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
4372 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
4373 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
4374 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
4375 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
4376 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
4377 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
4380 static PyObject
*SWIG_globals
;
4384 SWIGEXPORT(void,initwindowsc
)() {
4386 SWIG_globals
= SWIG_newvarlink();
4387 m
= Py_InitModule("windowsc", windowscMethods
);
4388 d
= PyModule_GetDict(m
);
4390 * These are the pointer type-equivalency mappings.
4391 * (Used by the SWIG pointer type-checker).
4393 SWIG_RegisterMapping("_signed_long","_long",0);
4394 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4395 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4396 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4397 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4398 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4399 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4400 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4401 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4402 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4403 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4404 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4405 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4406 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4407 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
);
4408 SWIG_RegisterMapping("_class_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
);
4409 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4410 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4411 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4412 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4413 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4414 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4415 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4416 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4417 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4418 SWIG_RegisterMapping("_long","_wxDash",0);
4419 SWIG_RegisterMapping("_long","_unsigned_long",0);
4420 SWIG_RegisterMapping("_long","_signed_long",0);
4421 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4422 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4423 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4424 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4425 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4426 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4427 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4428 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4429 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4430 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4431 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4432 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4433 SWIG_RegisterMapping("_uint","_int",0);
4434 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4435 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4436 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4437 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4438 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4439 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4440 SWIG_RegisterMapping("_EBool","_signed_int",0);
4441 SWIG_RegisterMapping("_EBool","_int",0);
4442 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4443 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4444 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4445 SWIG_RegisterMapping("_unsigned_long","_long",0);
4446 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4447 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4448 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4449 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4450 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4451 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4452 SWIG_RegisterMapping("_signed_int","_EBool",0);
4453 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4454 SWIG_RegisterMapping("_signed_int","_int",0);
4455 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4456 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4457 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4458 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4459 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4460 SWIG_RegisterMapping("_WXTYPE","_short",0);
4461 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4462 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4463 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4464 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4465 SWIG_RegisterMapping("_unsigned_short","_short",0);
4466 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4467 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4468 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4469 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4470 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4471 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4472 SWIG_RegisterMapping("_class_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
);
4473 SWIG_RegisterMapping("_class_wxWindow","_wxFrame",SwigwxFrameTowxWindow
);
4474 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4475 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4476 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4477 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4478 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4479 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4480 SWIG_RegisterMapping("_signed_short","_short",0);
4481 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4482 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4483 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4484 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4485 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4486 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4487 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4488 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4489 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4490 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4491 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4492 SWIG_RegisterMapping("_unsigned_int","_int",0);
4493 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4494 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4495 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4496 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4497 SWIG_RegisterMapping("_short","_WXTYPE",0);
4498 SWIG_RegisterMapping("_short","_unsigned_short",0);
4499 SWIG_RegisterMapping("_short","_signed_short",0);
4500 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
4501 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4502 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4503 SWIG_RegisterMapping("_wxWindowID","_int",0);
4504 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4505 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4506 SWIG_RegisterMapping("_int","_EBool",0);
4507 SWIG_RegisterMapping("_int","_uint",0);
4508 SWIG_RegisterMapping("_int","_wxWindowID",0);
4509 SWIG_RegisterMapping("_int","_unsigned_int",0);
4510 SWIG_RegisterMapping("_int","_signed_int",0);
4511 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4512 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4513 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4514 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4515 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4516 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4517 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4518 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4519 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4520 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4521 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4522 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4523 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4524 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4525 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4526 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4527 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4528 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4529 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4530 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4531 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4532 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4533 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4534 SWIG_RegisterMapping("_wxEvtHandler","_class_wxFrame",SwigwxFrameTowxEvtHandler
);
4535 SWIG_RegisterMapping("_wxEvtHandler","_wxFrame",SwigwxFrameTowxEvtHandler
);
4536 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4537 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4538 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4539 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4540 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4541 SWIG_RegisterMapping("_wxDash","_long",0);
4542 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4543 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4544 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4545 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4546 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4547 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4548 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4549 SWIG_RegisterMapping("_wxWindow","_class_wxFrame",SwigwxFrameTowxWindow
);
4550 SWIG_RegisterMapping("_wxWindow","_wxFrame",SwigwxFrameTowxWindow
);
4551 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
4552 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);