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 byte
* byte_LIST_helper(PyObject
* source
);
116 extern int* int_LIST_helper(PyObject
* source
);
117 extern long* long_LIST_helper(PyObject
* source
);
118 extern char** string_LIST_helper(PyObject
* source
);
119 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
120 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
121 extern wxString
* wxString_LIST_helper(PyObject
* source
);
122 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
125 static char* wxStringErrorMsg
= "string type is required for parameter";
126 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
127 if (PyCallable_Check(func
)) {
128 self
->Connect(id
, lastId
, eventType
,
129 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
130 new wxPyCallback(func
));
133 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
) {
134 PyObject
* _resultobj
;
135 wxEvtHandler
* _arg0
;
141 PyObject
* _obj4
= 0;
144 if(!PyArg_ParseTuple(args
,"siiiO:wxEvtHandler_Connect",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
147 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
155 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
157 _resultobj
= Py_None
;
161 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
164 src
= (wxWindow
*) ptr
;
165 dest
= (wxEvtHandler
*) src
;
166 return (void *) dest
;
169 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
170 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
) {
171 PyObject
* _resultobj
;
175 wxPoint
* _arg2
= &wxPyDefaultPosition
;
176 wxSize
* _arg3
= &wxPyDefaultSize
;
178 char * _arg5
= "panel";
185 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
188 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
194 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
200 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
205 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
207 _resultobj
= Py_BuildValue("s",_ptemp
);
211 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
212 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
) {
213 PyObject
* _resultobj
;
218 if(!PyArg_ParseTuple(args
,"s:wxWindow_CaptureMouse",&_argc0
))
221 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
226 wxWindow_CaptureMouse(_arg0
);
228 _resultobj
= Py_None
;
232 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
233 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
) {
234 PyObject
* _resultobj
;
236 int _arg1
= (wxHORIZONTAL
);
240 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Center",&_argc0
,&_arg1
))
243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
248 wxWindow_Center(_arg0
,_arg1
);
250 _resultobj
= Py_None
;
254 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
255 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
) {
256 PyObject
* _resultobj
;
258 int _arg1
= (wxHORIZONTAL
);
262 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Centre",&_argc0
,&_arg1
))
265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
270 wxWindow_Centre(_arg0
,_arg1
);
272 _resultobj
= Py_None
;
276 #define wxWindow_ClientToScreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
277 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
) {
278 PyObject
* _resultobj
;
284 PyObject
* _obj1
= 0;
286 PyObject
* _obj2
= 0;
289 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ClientToScreen",&_argc0
,&_obj1
,&_obj2
))
292 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
298 temp
= (int) PyInt_AsLong(_obj1
);
302 temp0
= (int) PyInt_AsLong(_obj2
);
305 wxWindow_ClientToScreen(_arg0
,_arg1
,_arg2
);
307 _resultobj
= Py_None
;
310 o
= PyInt_FromLong((long) (*_arg1
));
311 _resultobj
= t_output_helper(_resultobj
, o
);
315 o
= PyInt_FromLong((long) (*_arg2
));
316 _resultobj
= t_output_helper(_resultobj
, o
);
321 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
322 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
) {
323 PyObject
* _resultobj
;
330 if(!PyArg_ParseTuple(args
,"s|i:wxWindow_Close",&_argc0
,&_arg1
))
333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
338 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
339 _resultobj
= Py_BuildValue("i",_result
);
343 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
344 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
) {
345 PyObject
* _resultobj
;
351 if(!PyArg_ParseTuple(args
,"s:wxWindow_Destroy",&_argc0
))
354 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
359 _result
= (bool )wxWindow_Destroy(_arg0
);
360 _resultobj
= Py_BuildValue("i",_result
);
364 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
365 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
) {
366 PyObject
* _resultobj
;
371 if(!PyArg_ParseTuple(args
,"s:wxWindow_DestroyChildren",&_argc0
))
374 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
379 wxWindow_DestroyChildren(_arg0
);
381 _resultobj
= Py_None
;
385 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
386 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
) {
387 PyObject
* _resultobj
;
394 if(!PyArg_ParseTuple(args
,"si:wxWindow_Enable",&_argc0
,&tempbool1
))
397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
402 _arg1
= (bool ) tempbool1
;
403 wxWindow_Enable(_arg0
,_arg1
);
405 _resultobj
= Py_None
;
409 #define wxWindow_FindWindowByID(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
410 static PyObject
*_wrap_wxWindow_FindWindowByID(PyObject
*self
, PyObject
*args
) {
411 PyObject
* _resultobj
;
419 if(!PyArg_ParseTuple(args
,"sl:wxWindow_FindWindowByID",&_argc0
,&_arg1
))
422 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByID. Expected _wxWindow_p.");
427 _result
= (wxWindow
*)wxWindow_FindWindowByID(_arg0
,_arg1
);
428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
429 _resultobj
= Py_BuildValue("s",_ptemp
);
433 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
434 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
) {
435 PyObject
* _resultobj
;
440 PyObject
* _obj1
= 0;
444 if(!PyArg_ParseTuple(args
,"sO:wxWindow_FindWindowByName",&_argc0
,&_obj1
))
447 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
453 if (!PyString_Check(_obj1
)) {
454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
457 _arg1
= new wxString(PyString_AsString(_obj1
));
459 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
461 _resultobj
= Py_BuildValue("s",_ptemp
);
469 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
470 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
) {
471 PyObject
* _resultobj
;
476 if(!PyArg_ParseTuple(args
,"s:wxWindow_Fit",&_argc0
))
479 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
486 _resultobj
= Py_None
;
490 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
491 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
492 PyObject
* _resultobj
;
499 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetBackgroundColour",&_argc0
))
502 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
507 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
508 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
509 _resultobj
= Py_BuildValue("s",_ptemp
);
513 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
514 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
) {
515 PyObject
* _resultobj
;
521 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharHeight",&_argc0
))
524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
529 _result
= (int )wxWindow_GetCharHeight(_arg0
);
530 _resultobj
= Py_BuildValue("i",_result
);
534 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
535 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
) {
536 PyObject
* _resultobj
;
542 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetCharWidth",&_argc0
))
545 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
550 _result
= (int )wxWindow_GetCharWidth(_arg0
);
551 _resultobj
= Py_BuildValue("i",_result
);
555 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
556 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
) {
557 PyObject
* _resultobj
;
572 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSizeTuple",&_argc0
))
575 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
580 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
582 _resultobj
= Py_None
;
585 o
= PyInt_FromLong((long) (*_arg1
));
586 _resultobj
= t_output_helper(_resultobj
, o
);
590 o
= PyInt_FromLong((long) (*_arg2
));
591 _resultobj
= t_output_helper(_resultobj
, o
);
596 static wxSize
wxWindow_GetClientSize(wxWindow
*self
) {
598 self
->GetClientSize(&w
, &h
);
601 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
) {
602 PyObject
* _resultobj
;
609 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetClientSize",&_argc0
))
612 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
617 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
618 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
619 _resultobj
= Py_BuildValue("s",_ptemp
);
623 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
624 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
) {
625 PyObject
* _resultobj
;
626 wxLayoutConstraints
* _result
;
632 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetConstraints",&_argc0
))
635 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
640 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
642 _resultobj
= Py_BuildValue("s",_ptemp
);
646 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
647 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
) {
648 PyObject
* _resultobj
;
655 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetFont",&_argc0
))
658 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
663 _result
= new wxFont (wxWindow_GetFont(_arg0
));
664 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
665 _resultobj
= Py_BuildValue("s",_ptemp
);
669 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
670 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
) {
671 PyObject
* _resultobj
;
678 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetForegroundColour",&_argc0
))
681 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
686 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
687 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
688 _resultobj
= Py_BuildValue("s",_ptemp
);
692 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
693 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
) {
694 PyObject
* _resultobj
;
701 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetGrandParent",&_argc0
))
704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
709 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
711 _resultobj
= Py_BuildValue("s",_ptemp
);
715 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
716 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
) {
717 PyObject
* _resultobj
;
723 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetId",&_argc0
))
726 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
731 _result
= (int )wxWindow_GetId(_arg0
);
732 _resultobj
= Py_BuildValue("i",_result
);
736 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
737 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
) {
738 PyObject
* _resultobj
;
744 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetLabel",&_argc0
))
747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
752 _result
= new wxString (wxWindow_GetLabel(_arg0
));
754 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
762 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
763 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
) {
764 PyObject
* _resultobj
;
770 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetName",&_argc0
))
773 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
778 _result
= new wxString (wxWindow_GetName(_arg0
));
780 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
788 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
789 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
) {
790 PyObject
* _resultobj
;
797 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetParent",&_argc0
))
800 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
805 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
807 _resultobj
= Py_BuildValue("s",_ptemp
);
811 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
812 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
) {
813 PyObject
* _resultobj
;
828 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetPositionTuple",&_argc0
))
831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
836 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
838 _resultobj
= Py_None
;
841 o
= PyInt_FromLong((long) (*_arg1
));
842 _resultobj
= t_output_helper(_resultobj
, o
);
846 o
= PyInt_FromLong((long) (*_arg2
));
847 _resultobj
= t_output_helper(_resultobj
, o
);
852 #define wxWindow_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
853 static PyObject
*_wrap_wxWindow_GetReturnCode(PyObject
*self
, PyObject
*args
) {
854 PyObject
* _resultobj
;
860 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetReturnCode",&_argc0
))
863 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetReturnCode. Expected _wxWindow_p.");
868 _result
= (int )wxWindow_GetReturnCode(_arg0
);
869 _resultobj
= Py_BuildValue("i",_result
);
873 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
874 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
) {
875 PyObject
* _resultobj
;
882 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollThumb",&_argc0
,&_arg1
))
885 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
890 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
891 _resultobj
= Py_BuildValue("i",_result
);
895 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
896 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
) {
897 PyObject
* _resultobj
;
904 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollPos",&_argc0
,&_arg1
))
907 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
912 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
913 _resultobj
= Py_BuildValue("i",_result
);
917 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
918 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
) {
919 PyObject
* _resultobj
;
926 if(!PyArg_ParseTuple(args
,"si:wxWindow_GetScrollRange",&_argc0
,&_arg1
))
929 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
934 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
935 _resultobj
= Py_BuildValue("i",_result
);
939 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
940 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
941 PyObject
* _resultobj
;
956 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetSizeTuple",&_argc0
))
959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
964 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
966 _resultobj
= Py_None
;
969 o
= PyInt_FromLong((long) (*_arg1
));
970 _resultobj
= t_output_helper(_resultobj
, o
);
974 o
= PyInt_FromLong((long) (*_arg2
));
975 _resultobj
= t_output_helper(_resultobj
, o
);
980 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
981 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
) {
982 PyObject
* _resultobj
;
990 PyObject
* _obj1
= 0;
999 if(!PyArg_ParseTuple(args
,"sO:wxWindow_GetTextExtent",&_argc0
,&_obj1
))
1002 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1008 if (!PyString_Check(_obj1
)) {
1009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1012 _arg1
= new wxString(PyString_AsString(_obj1
));
1014 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1016 _resultobj
= Py_None
;
1019 o
= PyInt_FromLong((long) (*_arg2
));
1020 _resultobj
= t_output_helper(_resultobj
, o
);
1024 o
= PyInt_FromLong((long) (*_arg3
));
1025 _resultobj
= t_output_helper(_resultobj
, o
);
1034 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1035 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
) {
1036 PyObject
* _resultobj
;
1042 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetTitle",&_argc0
))
1045 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1050 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1052 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1060 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1061 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1062 PyObject
* _resultobj
;
1068 if(!PyArg_ParseTuple(args
,"s:wxWindow_GetWindowStyleFlag",&_argc0
))
1071 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1076 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1077 _resultobj
= Py_BuildValue("l",_result
);
1081 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1082 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
) {
1083 PyObject
* _resultobj
;
1088 if(!PyArg_ParseTuple(args
,"s:wxWindow_InitDialog",&_argc0
))
1091 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1096 wxWindow_InitDialog(_arg0
);
1098 _resultobj
= Py_None
;
1102 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1103 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
) {
1104 PyObject
* _resultobj
;
1110 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsEnabled",&_argc0
))
1113 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1118 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1119 _resultobj
= Py_BuildValue("i",_result
);
1123 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1124 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
1125 PyObject
* _resultobj
;
1131 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsRetained",&_argc0
))
1134 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1139 _result
= (bool )wxWindow_IsRetained(_arg0
);
1140 _resultobj
= Py_BuildValue("i",_result
);
1144 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1145 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
) {
1146 PyObject
* _resultobj
;
1152 if(!PyArg_ParseTuple(args
,"s:wxWindow_IsShown",&_argc0
))
1155 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1160 _result
= (bool )wxWindow_IsShown(_arg0
);
1161 _resultobj
= Py_BuildValue("i",_result
);
1165 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1166 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
) {
1167 PyObject
* _resultobj
;
1172 if(!PyArg_ParseTuple(args
,"s:wxWindow_Layout",&_argc0
))
1175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1180 wxWindow_Layout(_arg0
);
1182 _resultobj
= Py_None
;
1186 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1187 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
) {
1188 PyObject
* _resultobj
;
1193 wxResourceTable
* _arg3
= NULL
;
1196 PyObject
* _obj2
= 0;
1200 if(!PyArg_ParseTuple(args
,"ssO|s:wxWindow_LoadFromResource",&_argc0
,&_argc1
,&_obj2
,&_argc3
))
1203 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1209 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1215 if (!PyString_Check(_obj2
)) {
1216 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1219 _arg2
= new wxString(PyString_AsString(_obj2
));
1222 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1227 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1228 _resultobj
= Py_BuildValue("i",_result
);
1236 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1237 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
) {
1238 PyObject
* _resultobj
;
1243 if(!PyArg_ParseTuple(args
,"s:wxWindow_Lower",&_argc0
))
1246 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1251 wxWindow_Lower(_arg0
);
1253 _resultobj
= Py_None
;
1257 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1258 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
) {
1259 PyObject
* _resultobj
;
1266 if(!PyArg_ParseTuple(args
,"si:wxWindow_MakeModal",&_argc0
,&tempbool1
))
1269 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1274 _arg1
= (bool ) tempbool1
;
1275 wxWindow_MakeModal(_arg0
,_arg1
);
1277 _resultobj
= Py_None
;
1281 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1282 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
) {
1283 PyObject
* _resultobj
;
1290 if(!PyArg_ParseTuple(args
,"sii:wxWindow_Move",&_argc0
,&_arg1
,&_arg2
))
1293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
1298 wxWindow_Move(_arg0
,_arg1
,_arg2
);
1300 _resultobj
= Py_None
;
1304 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
1305 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
) {
1306 PyObject
* _resultobj
;
1316 if(!PyArg_ParseTuple(args
,"ssii:wxWindow_PopupMenu",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1319 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
1325 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
1326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
1330 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,_arg2
,_arg3
);
1331 _resultobj
= Py_BuildValue("i",_result
);
1335 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
1336 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
) {
1337 PyObject
* _resultobj
;
1342 if(!PyArg_ParseTuple(args
,"s:wxWindow_Raise",&_argc0
))
1345 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
1350 wxWindow_Raise(_arg0
);
1352 _resultobj
= Py_None
;
1356 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
1357 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
) {
1358 PyObject
* _resultobj
;
1361 wxRect
* _arg2
= NULL
;
1367 if(!PyArg_ParseTuple(args
,"s|is:wxWindow_Refresh",&_argc0
,&tempbool1
,&_argc2
))
1370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
1375 _arg1
= (bool ) tempbool1
;
1377 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxRect_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
1382 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
1384 _resultobj
= Py_None
;
1388 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
1389 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
) {
1390 PyObject
* _resultobj
;
1395 if(!PyArg_ParseTuple(args
,"s:wxWindow_ReleaseMouse",&_argc0
))
1398 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
1403 wxWindow_ReleaseMouse(_arg0
);
1405 _resultobj
= Py_None
;
1409 #define wxWindow_ScreenToClient(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
1410 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
) {
1411 PyObject
* _resultobj
;
1417 PyObject
* _obj1
= 0;
1419 PyObject
* _obj2
= 0;
1422 if(!PyArg_ParseTuple(args
,"sOO:wxWindow_ScreenToClient",&_argc0
,&_obj1
,&_obj2
))
1425 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
1431 temp
= (int) PyInt_AsLong(_obj1
);
1435 temp0
= (int) PyInt_AsLong(_obj2
);
1438 wxWindow_ScreenToClient(_arg0
,_arg1
,_arg2
);
1440 _resultobj
= Py_None
;
1443 o
= PyInt_FromLong((long) (*_arg1
));
1444 _resultobj
= t_output_helper(_resultobj
, o
);
1448 o
= PyInt_FromLong((long) (*_arg2
));
1449 _resultobj
= t_output_helper(_resultobj
, o
);
1454 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
1455 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
) {
1456 PyObject
* _resultobj
;
1460 wxRect
* _arg3
= NULL
;
1465 if(!PyArg_ParseTuple(args
,"sii|s:wxWindow_ScrollWindow",&_argc0
,&_arg1
,&_arg2
,&_argc3
))
1468 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
1474 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxRect_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
1479 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1481 _resultobj
= Py_None
;
1485 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
1486 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
) {
1487 PyObject
* _resultobj
;
1489 wxAcceleratorTable
* _arg1
;
1494 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetAcceleratorTable",&_argc0
,&_argc1
))
1497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
1503 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
1508 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
1510 _resultobj
= Py_None
;
1514 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
1515 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
) {
1516 PyObject
* _resultobj
;
1523 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetAutoLayout",&_argc0
,&tempbool1
))
1526 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
1531 _arg1
= (bool ) tempbool1
;
1532 wxWindow_SetAutoLayout(_arg0
,_arg1
);
1534 _resultobj
= Py_None
;
1538 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1539 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1540 PyObject
* _resultobj
;
1547 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetBackgroundColour",&_argc0
,&_argc1
))
1550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
1556 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
1561 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
1563 _resultobj
= Py_None
;
1567 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
1568 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
) {
1569 PyObject
* _resultobj
;
1571 wxLayoutConstraints
* _arg1
;
1576 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetConstraints",&_argc0
,&_argc1
))
1579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
1585 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
1590 wxWindow_SetConstraints(_arg0
,_arg1
);
1592 _resultobj
= Py_None
;
1596 #define wxWindow_SetDoubleClick(_swigobj,_swigarg0) (_swigobj->SetDoubleClick(_swigarg0))
1597 static PyObject
*_wrap_wxWindow_SetDoubleClick(PyObject
*self
, PyObject
*args
) {
1598 PyObject
* _resultobj
;
1605 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetDoubleClick",&_argc0
,&tempbool1
))
1608 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDoubleClick. Expected _wxWindow_p.");
1613 _arg1
= (bool ) tempbool1
;
1614 wxWindow_SetDoubleClick(_arg0
,_arg1
);
1616 _resultobj
= Py_None
;
1620 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
1621 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
) {
1622 PyObject
* _resultobj
;
1627 if(!PyArg_ParseTuple(args
,"s:wxWindow_SetFocus",&_argc0
))
1630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
1635 wxWindow_SetFocus(_arg0
);
1637 _resultobj
= Py_None
;
1641 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1642 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
) {
1643 PyObject
* _resultobj
;
1650 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetFont",&_argc0
,&_argc1
))
1653 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
1659 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
1664 wxWindow_SetFont(_arg0
,*_arg1
);
1666 _resultobj
= Py_None
;
1670 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1671 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
) {
1672 PyObject
* _resultobj
;
1679 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetForegroundColour",&_argc0
,&_argc1
))
1682 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
1688 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
1693 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
1695 _resultobj
= Py_None
;
1699 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1700 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
) {
1701 PyObject
* _resultobj
;
1707 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetId",&_argc0
,&_arg1
))
1710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
1715 wxWindow_SetId(_arg0
,_arg1
);
1717 _resultobj
= Py_None
;
1721 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
1722 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
) {
1723 PyObject
* _resultobj
;
1727 PyObject
* _obj1
= 0;
1730 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetName",&_argc0
,&_obj1
))
1733 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
1739 if (!PyString_Check(_obj1
)) {
1740 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1743 _arg1
= new wxString(PyString_AsString(_obj1
));
1745 wxWindow_SetName(_arg0
,*_arg1
);
1747 _resultobj
= Py_None
;
1755 #define wxWindow_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
1756 static PyObject
*_wrap_wxWindow_SetReturnCode(PyObject
*self
, PyObject
*args
) {
1757 PyObject
* _resultobj
;
1763 if(!PyArg_ParseTuple(args
,"si:wxWindow_SetReturnCode",&_argc0
,&_arg1
))
1766 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetReturnCode. Expected _wxWindow_p.");
1771 wxWindow_SetReturnCode(_arg0
,_arg1
);
1773 _resultobj
= Py_None
;
1777 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1778 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
) {
1779 PyObject
* _resultobj
;
1790 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetScrollbar",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
1793 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
1798 _arg5
= (bool ) tempbool5
;
1799 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1801 _resultobj
= Py_None
;
1805 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
1806 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
) {
1807 PyObject
* _resultobj
;
1816 if(!PyArg_ParseTuple(args
,"sii|i:wxWindow_SetScrollPos",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1819 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
1824 _arg3
= (bool ) tempbool3
;
1825 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
1827 _resultobj
= Py_None
;
1831 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1832 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
) {
1833 PyObject
* _resultobj
;
1839 int _arg5
= (wxSIZE_AUTO
);
1843 if(!PyArg_ParseTuple(args
,"siiii|i:wxWindow_SetDimensions",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
1851 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1853 _resultobj
= Py_None
;
1857 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
1858 self
->SetSize(size
.x
, size
.y
);
1860 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
) {
1861 PyObject
* _resultobj
;
1868 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetSize",&_argc0
,&_argc1
))
1871 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
1877 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
1882 wxWindow_SetSize(_arg0
,*_arg1
);
1884 _resultobj
= Py_None
;
1888 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
1889 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
1891 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
) {
1892 PyObject
* _resultobj
;
1899 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetPosition",&_argc0
,&_argc1
))
1902 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
1908 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
1913 wxWindow_SetPosition(_arg0
,*_arg1
);
1915 _resultobj
= Py_None
;
1919 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1920 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
) {
1921 PyObject
* _resultobj
;
1932 if(!PyArg_ParseTuple(args
,"s|iiiiii:wxWindow_SetSizeHints",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1935 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
1940 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1942 _resultobj
= Py_None
;
1946 #define wxWindow_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
1947 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
) {
1948 PyObject
* _resultobj
;
1955 if(!PyArg_ParseTuple(args
,"sii:wxWindow_SetClientSize",&_argc0
,&_arg1
,&_arg2
))
1958 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
1963 wxWindow_SetClientSize(_arg0
,_arg1
,_arg2
);
1965 _resultobj
= Py_None
;
1969 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
1970 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
) {
1971 PyObject
* _resultobj
;
1978 if(!PyArg_ParseTuple(args
,"ss:wxWindow_SetCursor",&_argc0
,&_argc1
))
1981 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
1987 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxCursor_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
1992 wxWindow_SetCursor(_arg0
,*_arg1
);
1994 _resultobj
= Py_None
;
1998 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
1999 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
2000 PyObject
* _resultobj
;
2004 PyObject
* _obj1
= 0;
2007 if(!PyArg_ParseTuple(args
,"sO:wxWindow_SetTitle",&_argc0
,&_obj1
))
2010 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
2016 if (!PyString_Check(_obj1
)) {
2017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2020 _arg1
= new wxString(PyString_AsString(_obj1
));
2022 wxWindow_SetTitle(_arg0
,*_arg1
);
2024 _resultobj
= Py_None
;
2032 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2033 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
) {
2034 PyObject
* _resultobj
;
2042 if(!PyArg_ParseTuple(args
,"si:wxWindow_Show",&_argc0
,&tempbool1
))
2045 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
2050 _arg1
= (bool ) tempbool1
;
2051 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
2052 _resultobj
= Py_BuildValue("i",_result
);
2056 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
2057 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
) {
2058 PyObject
* _resultobj
;
2064 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataFromWindow",&_argc0
))
2067 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
2072 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
2073 _resultobj
= Py_BuildValue("i",_result
);
2077 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
2078 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
) {
2079 PyObject
* _resultobj
;
2085 if(!PyArg_ParseTuple(args
,"s:wxWindow_TransferDataToWindow",&_argc0
))
2088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
2093 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
2094 _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
2099 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
) {
2100 PyObject
* _resultobj
;
2106 if(!PyArg_ParseTuple(args
,"s:wxWindow_Validate",&_argc0
))
2109 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
2114 _result
= (bool )wxWindow_Validate(_arg0
);
2115 _resultobj
= Py_BuildValue("i",_result
);
2119 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2120 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
) {
2121 PyObject
* _resultobj
;
2130 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogPointToPixels",&_argc0
,&_argc1
))
2133 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
2139 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
2144 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
2145 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2146 _resultobj
= Py_BuildValue("s",_ptemp
);
2150 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
2151 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
) {
2152 PyObject
* _resultobj
;
2161 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertDialogSizeToPixels",&_argc0
,&_argc1
))
2164 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
2170 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
2175 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
2176 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2177 _resultobj
= Py_BuildValue("s",_ptemp
);
2181 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2182 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
) {
2183 PyObject
* _resultobj
;
2192 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelPointToDialog",&_argc0
,&_argc1
))
2195 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
2201 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
2206 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
2207 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2208 _resultobj
= Py_BuildValue("s",_ptemp
);
2212 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
2213 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
) {
2214 PyObject
* _resultobj
;
2223 if(!PyArg_ParseTuple(args
,"ss:wxWindow_ConvertPixelSizeToDialog",&_argc0
,&_argc1
))
2226 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
2232 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
2237 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
2238 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2239 _resultobj
= Py_BuildValue("s",_ptemp
);
2243 static void *SwigwxPanelTowxWindow(void *ptr
) {
2246 src
= (wxPanel
*) ptr
;
2247 dest
= (wxWindow
*) src
;
2248 return (void *) dest
;
2251 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
2254 src
= (wxPanel
*) ptr
;
2255 dest
= (wxEvtHandler
*) src
;
2256 return (void *) dest
;
2259 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2260 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
) {
2261 PyObject
* _resultobj
;
2265 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2266 wxSize
* _arg3
= &wxPyDefaultSize
;
2267 long _arg4
= (wxTAB_TRAVERSAL
);
2268 char * _arg5
= "panel";
2275 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxPanel",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2278 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
2284 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
2290 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
2295 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
2297 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
2302 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
) {
2303 PyObject
* _resultobj
;
2308 if(!PyArg_ParseTuple(args
,"s:wxPanel_InitDialog",&_argc0
))
2311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPanel_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
2316 wxPanel_InitDialog(_arg0
);
2318 _resultobj
= Py_None
;
2322 static void *SwigwxDialogTowxPanel(void *ptr
) {
2325 src
= (wxDialog
*) ptr
;
2326 dest
= (wxPanel
*) src
;
2327 return (void *) dest
;
2330 static void *SwigwxDialogTowxWindow(void *ptr
) {
2333 src
= (wxDialog
*) ptr
;
2334 dest
= (wxWindow
*) src
;
2335 return (void *) dest
;
2338 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
2341 src
= (wxDialog
*) ptr
;
2342 dest
= (wxEvtHandler
*) src
;
2343 return (void *) dest
;
2346 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2347 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
) {
2348 PyObject
* _resultobj
;
2353 wxPoint
* _arg3
= &wxPyDefaultPosition
;
2354 wxSize
* _arg4
= &wxPyDefaultSize
;
2355 long _arg5
= (wxDEFAULT_DIALOG_STYLE
);
2356 char * _arg6
= "dialogBox";
2358 PyObject
* _obj2
= 0;
2364 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxDialog",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
2367 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
2373 if (!PyString_Check(_obj2
)) {
2374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2377 _arg2
= new wxString(PyString_AsString(_obj2
));
2380 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
2386 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
2391 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
2393 _resultobj
= Py_BuildValue("s",_ptemp
);
2401 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
2402 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
) {
2403 PyObject
* _resultobj
;
2405 int _arg1
= (wxBOTH
);
2409 if(!PyArg_ParseTuple(args
,"s|i:wxDialog_Centre",&_argc0
,&_arg1
))
2412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
2417 wxDialog_Centre(_arg0
,_arg1
);
2419 _resultobj
= Py_None
;
2423 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
2424 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
) {
2425 PyObject
* _resultobj
;
2431 if(!PyArg_ParseTuple(args
,"si:wxDialog_EndModal",&_argc0
,&_arg1
))
2434 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
2439 wxDialog_EndModal(_arg0
,_arg1
);
2441 _resultobj
= Py_None
;
2445 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
2446 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
) {
2447 PyObject
* _resultobj
;
2453 if(!PyArg_ParseTuple(args
,"s:wxDialog_GetTitle",&_argc0
))
2456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
2461 _result
= new wxString (wxDialog_GetTitle(_arg0
));
2463 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2471 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
2472 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
) {
2473 PyObject
* _resultobj
;
2480 if(!PyArg_ParseTuple(args
,"si:wxDialog_Iconize",&_argc0
,&tempbool1
))
2483 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
2488 _arg1
= (bool ) tempbool1
;
2489 wxDialog_Iconize(_arg0
,_arg1
);
2491 _resultobj
= Py_None
;
2495 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
2496 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
) {
2497 PyObject
* _resultobj
;
2503 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsIconized",&_argc0
))
2506 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
2511 _result
= (bool )wxDialog_IsIconized(_arg0
);
2512 _resultobj
= Py_BuildValue("i",_result
);
2516 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
2517 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
) {
2518 PyObject
* _resultobj
;
2525 if(!PyArg_ParseTuple(args
,"si:wxDialog_SetModal",&_argc0
,&tempbool1
))
2528 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
2533 _arg1
= (bool ) tempbool1
;
2534 wxDialog_SetModal(_arg0
,_arg1
);
2536 _resultobj
= Py_None
;
2540 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
2541 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
) {
2542 PyObject
* _resultobj
;
2548 if(!PyArg_ParseTuple(args
,"s:wxDialog_IsModal",&_argc0
))
2551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
2556 _result
= (bool )wxDialog_IsModal(_arg0
);
2557 _resultobj
= Py_BuildValue("i",_result
);
2561 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2562 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
) {
2563 PyObject
* _resultobj
;
2567 PyObject
* _obj1
= 0;
2570 if(!PyArg_ParseTuple(args
,"sO:wxDialog_SetTitle",&_argc0
,&_obj1
))
2573 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
2579 if (!PyString_Check(_obj1
)) {
2580 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2583 _arg1
= new wxString(PyString_AsString(_obj1
));
2585 wxDialog_SetTitle(_arg0
,*_arg1
);
2587 _resultobj
= Py_None
;
2595 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2596 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
) {
2597 PyObject
* _resultobj
;
2605 if(!PyArg_ParseTuple(args
,"si:wxDialog_Show",&_argc0
,&tempbool1
))
2608 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
2613 _arg1
= (bool ) tempbool1
;
2614 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
2615 _resultobj
= Py_BuildValue("i",_result
);
2619 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
2620 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
) {
2621 PyObject
* _resultobj
;
2627 if(!PyArg_ParseTuple(args
,"s:wxDialog_ShowModal",&_argc0
))
2630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDialog_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
2635 _result
= (int )wxDialog_ShowModal(_arg0
);
2636 _resultobj
= Py_BuildValue("i",_result
);
2640 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
2641 wxScrolledWindow
*src
;
2643 src
= (wxScrolledWindow
*) ptr
;
2644 dest
= (wxWindow
*) src
;
2645 return (void *) dest
;
2648 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
2649 wxScrolledWindow
*src
;
2651 src
= (wxScrolledWindow
*) ptr
;
2652 dest
= (wxEvtHandler
*) src
;
2653 return (void *) dest
;
2656 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2657 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
) {
2658 PyObject
* _resultobj
;
2659 wxScrolledWindow
* _result
;
2661 wxWindowID _arg1
= -1;
2662 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2663 wxSize
* _arg3
= &wxPyDefaultSize
;
2664 long _arg4
= (wxHSCROLL
)|(wxVSCROLL
);
2665 char * _arg5
= "scrolledWindow";
2672 if(!PyArg_ParseTuple(args
,"s|issls:new_wxScrolledWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2675 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
2681 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
2687 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
2692 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
2694 _resultobj
= Py_BuildValue("s",_ptemp
);
2698 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
2699 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
) {
2700 PyObject
* _resultobj
;
2701 wxScrolledWindow
* _arg0
;
2709 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_EnableScrolling",&_argc0
,&tempbool1
,&tempbool2
))
2712 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
2717 _arg1
= (bool ) tempbool1
;
2718 _arg2
= (bool ) tempbool2
;
2719 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
2721 _resultobj
= Py_None
;
2725 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
2726 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
) {
2727 PyObject
* _resultobj
;
2728 wxScrolledWindow
* _arg0
;
2742 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetScrollPixelsPerUnit",&_argc0
))
2745 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
2750 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
2752 _resultobj
= Py_None
;
2755 o
= PyInt_FromLong((long) (*_arg1
));
2756 _resultobj
= t_output_helper(_resultobj
, o
);
2760 o
= PyInt_FromLong((long) (*_arg2
));
2761 _resultobj
= t_output_helper(_resultobj
, o
);
2766 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
2767 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
) {
2768 PyObject
* _resultobj
;
2769 wxScrolledWindow
* _arg0
;
2783 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_GetVirtualSize",&_argc0
))
2786 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
2791 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
2793 _resultobj
= Py_None
;
2796 o
= PyInt_FromLong((long) (*_arg1
));
2797 _resultobj
= t_output_helper(_resultobj
, o
);
2801 o
= PyInt_FromLong((long) (*_arg2
));
2802 _resultobj
= t_output_helper(_resultobj
, o
);
2807 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2808 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
) {
2809 PyObject
* _resultobj
;
2811 wxScrolledWindow
* _arg0
;
2815 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_IsRetained",&_argc0
))
2818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
2823 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
2824 _resultobj
= Py_BuildValue("i",_result
);
2828 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
2829 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
) {
2830 PyObject
* _resultobj
;
2831 wxScrolledWindow
* _arg0
;
2837 if(!PyArg_ParseTuple(args
,"ss:wxScrolledWindow_PrepareDC",&_argc0
,&_argc1
))
2840 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
2846 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
2851 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
2853 _resultobj
= Py_None
;
2857 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
2858 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
) {
2859 PyObject
* _resultobj
;
2860 wxScrolledWindow
* _arg0
;
2866 if(!PyArg_ParseTuple(args
,"sii:wxScrolledWindow_Scroll",&_argc0
,&_arg1
,&_arg2
))
2869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
2874 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
2876 _resultobj
= Py_None
;
2880 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2881 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
) {
2882 PyObject
* _resultobj
;
2883 wxScrolledWindow
* _arg0
;
2893 if(!PyArg_ParseTuple(args
,"siiii|ii:wxScrolledWindow_SetScrollbars",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
2901 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2903 _resultobj
= Py_None
;
2907 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
2908 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
) {
2909 PyObject
* _resultobj
;
2910 wxScrolledWindow
* _arg0
;
2924 if(!PyArg_ParseTuple(args
,"s:wxScrolledWindow_ViewStart",&_argc0
))
2927 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
2932 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
2934 _resultobj
= Py_None
;
2937 o
= PyInt_FromLong((long) (*_arg1
));
2938 _resultobj
= t_output_helper(_resultobj
, o
);
2942 o
= PyInt_FromLong((long) (*_arg2
));
2943 _resultobj
= t_output_helper(_resultobj
, o
);
2948 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
2951 src
= (wxMenu
*) ptr
;
2952 dest
= (wxEvtHandler
*) src
;
2953 return (void *) dest
;
2956 #define new_wxMenu(_swigarg0) (new wxMenu(_swigarg0))
2957 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
) {
2958 PyObject
* _resultobj
;
2960 wxString
* _arg0
= &wxPyEmptyStr
;
2961 PyObject
* _obj0
= 0;
2965 if(!PyArg_ParseTuple(args
,"|O:new_wxMenu",&_obj0
))
2969 if (!PyString_Check(_obj0
)) {
2970 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2973 _arg0
= new wxString(PyString_AsString(_obj0
));
2975 _result
= (wxMenu
*)new_wxMenu(*_arg0
);
2976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
2977 _resultobj
= Py_BuildValue("s",_ptemp
);
2985 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2986 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
) {
2987 PyObject
* _resultobj
;
2991 wxString
* _arg3
= &wxPyEmptyStr
;
2994 PyObject
* _obj2
= 0;
2995 PyObject
* _obj3
= 0;
2998 if(!PyArg_ParseTuple(args
,"siO|Oi:wxMenu_Append",&_argc0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
3001 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
3007 if (!PyString_Check(_obj2
)) {
3008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3011 _arg2
= new wxString(PyString_AsString(_obj2
));
3015 if (!PyString_Check(_obj3
)) {
3016 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3019 _arg3
= new wxString(PyString_AsString(_obj3
));
3021 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
3023 _resultobj
= Py_None
;
3035 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3036 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
) {
3037 PyObject
* _resultobj
;
3042 wxString
* _arg4
= &wxPyEmptyStr
;
3044 PyObject
* _obj2
= 0;
3046 PyObject
* _obj4
= 0;
3049 if(!PyArg_ParseTuple(args
,"siOs|O:wxMenu_AppendMenu",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_obj4
))
3052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3058 if (!PyString_Check(_obj2
)) {
3059 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3062 _arg2
= new wxString(PyString_AsString(_obj2
));
3065 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxMenu_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
3072 if (!PyString_Check(_obj4
)) {
3073 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3076 _arg4
= new wxString(PyString_AsString(_obj4
));
3078 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
3080 _resultobj
= Py_None
;
3092 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
3093 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
) {
3094 PyObject
* _resultobj
;
3099 if(!PyArg_ParseTuple(args
,"s:wxMenu_AppendSeparator",&_argc0
))
3102 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
3107 wxMenu_AppendSeparator(_arg0
);
3109 _resultobj
= Py_None
;
3113 #define wxMenu_Break(_swigobj) (_swigobj->Break())
3114 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
) {
3115 PyObject
* _resultobj
;
3120 if(!PyArg_ParseTuple(args
,"s:wxMenu_Break",&_argc0
))
3123 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
3128 wxMenu_Break(_arg0
);
3130 _resultobj
= Py_None
;
3134 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3135 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
) {
3136 PyObject
* _resultobj
;
3144 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Check",&_argc0
,&_arg1
,&tempbool2
))
3147 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
3152 _arg2
= (bool ) tempbool2
;
3153 wxMenu_Check(_arg0
,_arg1
,_arg2
);
3155 _resultobj
= Py_None
;
3159 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3160 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
) {
3161 PyObject
* _resultobj
;
3169 if(!PyArg_ParseTuple(args
,"sii:wxMenu_Enable",&_argc0
,&_arg1
,&tempbool2
))
3172 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
3177 _arg2
= (bool ) tempbool2
;
3178 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
3180 _resultobj
= Py_None
;
3184 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
3185 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
) {
3186 PyObject
* _resultobj
;
3191 PyObject
* _obj1
= 0;
3194 if(!PyArg_ParseTuple(args
,"sO:wxMenu_FindItem",&_argc0
,&_obj1
))
3197 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
3203 if (!PyString_Check(_obj1
)) {
3204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3207 _arg1
= new wxString(PyString_AsString(_obj1
));
3209 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
3210 _resultobj
= Py_BuildValue("i",_result
);
3218 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
3219 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
) {
3220 PyObject
* _resultobj
;
3221 wxMenuItem
* _result
;
3228 if(!PyArg_ParseTuple(args
,"si:wxMenu_FindItemForId",&_argc0
,&_arg1
))
3231 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
3236 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
3237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3238 _resultobj
= Py_BuildValue("s",_ptemp
);
3242 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
3243 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
) {
3244 PyObject
* _resultobj
;
3251 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetHelpString",&_argc0
,&_arg1
))
3254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
3259 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
3261 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3269 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3270 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
) {
3271 PyObject
* _resultobj
;
3278 if(!PyArg_ParseTuple(args
,"si:wxMenu_GetLabel",&_argc0
,&_arg1
))
3281 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
3286 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
3288 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3296 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
3297 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
) {
3298 PyObject
* _resultobj
;
3303 PyObject
* _obj2
= 0;
3306 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetHelpString",&_argc0
,&_arg1
,&_obj2
))
3309 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
3315 if (!PyString_Check(_obj2
)) {
3316 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3319 _arg2
= new wxString(PyString_AsString(_obj2
));
3321 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
3323 _resultobj
= Py_None
;
3331 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3332 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
) {
3333 PyObject
* _resultobj
;
3340 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsChecked",&_argc0
,&_arg1
))
3343 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
3348 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
3349 _resultobj
= Py_BuildValue("i",_result
);
3353 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
3354 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
) {
3355 PyObject
* _resultobj
;
3362 if(!PyArg_ParseTuple(args
,"si:wxMenu_IsEnabled",&_argc0
,&_arg1
))
3365 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
3370 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
3371 _resultobj
= Py_BuildValue("i",_result
);
3375 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3376 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
) {
3377 PyObject
* _resultobj
;
3382 PyObject
* _obj2
= 0;
3385 if(!PyArg_ParseTuple(args
,"siO:wxMenu_SetLabel",&_argc0
,&_arg1
,&_obj2
))
3388 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenu_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
3394 if (!PyString_Check(_obj2
)) {
3395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3398 _arg2
= new wxString(PyString_AsString(_obj2
));
3400 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
3402 _resultobj
= Py_None
;
3410 static void *SwigwxPyMenuTowxMenu(void *ptr
) {
3413 src
= (wxPyMenu
*) ptr
;
3414 dest
= (wxMenu
*) src
;
3415 return (void *) dest
;
3418 static void *SwigwxPyMenuTowxEvtHandler(void *ptr
) {
3421 src
= (wxPyMenu
*) ptr
;
3422 dest
= (wxEvtHandler
*) src
;
3423 return (void *) dest
;
3426 #define new_wxPyMenu(_swigarg0,_swigarg1) (new wxPyMenu(_swigarg0,_swigarg1))
3427 static PyObject
*_wrap_new_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3428 PyObject
* _resultobj
;
3430 wxString
* _arg0
= &wxPyEmptyStr
;
3431 PyObject
* _arg1
= NULL
;
3432 PyObject
* _obj0
= 0;
3433 PyObject
* _obj1
= 0;
3437 if(!PyArg_ParseTuple(args
,"|OO:new_wxPyMenu",&_obj0
,&_obj1
))
3441 if (!PyString_Check(_obj0
)) {
3442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3445 _arg0
= new wxString(PyString_AsString(_obj0
));
3451 _result
= (wxPyMenu
*)new_wxPyMenu(*_arg0
,_arg1
);
3452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyMenu_p");
3453 _resultobj
= Py_BuildValue("s",_ptemp
);
3461 #define delete_wxPyMenu(_swigobj) (delete _swigobj)
3462 static PyObject
*_wrap_delete_wxPyMenu(PyObject
*self
, PyObject
*args
) {
3463 PyObject
* _resultobj
;
3468 if(!PyArg_ParseTuple(args
,"s:delete_wxPyMenu",&_argc0
))
3471 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyMenu_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyMenu. Expected _wxPyMenu_p.");
3476 delete_wxPyMenu(_arg0
);
3478 _resultobj
= Py_None
;
3482 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
3485 src
= (wxMenuBar
*) ptr
;
3486 dest
= (wxEvtHandler
*) src
;
3487 return (void *) dest
;
3490 #define new_wxMenuBar() (new wxMenuBar())
3491 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
) {
3492 PyObject
* _resultobj
;
3493 wxMenuBar
* _result
;
3497 if(!PyArg_ParseTuple(args
,":new_wxMenuBar"))
3499 _result
= (wxMenuBar
*)new_wxMenuBar();
3500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
3501 _resultobj
= Py_BuildValue("s",_ptemp
);
3505 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
3506 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
) {
3507 PyObject
* _resultobj
;
3513 PyObject
* _obj2
= 0;
3516 if(!PyArg_ParseTuple(args
,"ssO:wxMenuBar_Append",&_argc0
,&_argc1
,&_obj2
))
3519 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
3525 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenu_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
3531 if (!PyString_Check(_obj2
)) {
3532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3535 _arg2
= new wxString(PyString_AsString(_obj2
));
3537 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
3539 _resultobj
= Py_None
;
3547 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3548 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
) {
3549 PyObject
* _resultobj
;
3557 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Check",&_argc0
,&_arg1
,&tempbool2
))
3560 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
3565 _arg2
= (bool ) tempbool2
;
3566 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
3568 _resultobj
= Py_None
;
3572 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
3573 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
) {
3574 PyObject
* _resultobj
;
3581 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Checked",&_argc0
,&_arg1
))
3584 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
3589 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
3590 _resultobj
= Py_BuildValue("i",_result
);
3594 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3595 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
) {
3596 PyObject
* _resultobj
;
3604 if(!PyArg_ParseTuple(args
,"sii:wxMenuBar_Enable",&_argc0
,&_arg1
,&tempbool2
))
3607 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
3612 _arg2
= (bool ) tempbool2
;
3613 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
3615 _resultobj
= Py_None
;
3619 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
3620 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
) {
3621 PyObject
* _resultobj
;
3628 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_Enabled",&_argc0
,&_arg1
))
3631 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
3636 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
3637 _resultobj
= Py_BuildValue("i",_result
);
3641 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
3642 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
) {
3643 PyObject
* _resultobj
;
3649 PyObject
* _obj1
= 0;
3650 PyObject
* _obj2
= 0;
3653 if(!PyArg_ParseTuple(args
,"sOO:wxMenuBar_FindMenuItem",&_argc0
,&_obj1
,&_obj2
))
3656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
3662 if (!PyString_Check(_obj1
)) {
3663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3666 _arg1
= new wxString(PyString_AsString(_obj1
));
3669 if (!PyString_Check(_obj2
)) {
3670 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3673 _arg2
= new wxString(PyString_AsString(_obj2
));
3675 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
3676 _resultobj
= Py_BuildValue("i",_result
);
3688 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindMenuItemById(_swigarg0))
3689 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
) {
3690 PyObject
* _resultobj
;
3691 wxMenuItem
* _result
;
3698 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_FindItemForId",&_argc0
,&_arg1
))
3701 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
3706 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
3707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
3708 _resultobj
= Py_BuildValue("s",_ptemp
);
3712 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
3713 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
) {
3714 PyObject
* _resultobj
;
3720 if(!PyArg_ParseTuple(args
,"s:wxMenuBar_GetMenuCount",&_argc0
))
3723 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
3728 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
3729 _resultobj
= Py_BuildValue("i",_result
);
3733 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
3734 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
) {
3735 PyObject
* _resultobj
;
3743 if(!PyArg_ParseTuple(args
,"si:wxMenuBar_GetMenu",&_argc0
,&_arg1
))
3746 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuBar_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
3751 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
3752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3753 _resultobj
= Py_BuildValue("s",_ptemp
);
3757 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
3758 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
) {
3759 PyObject
* _resultobj
;
3765 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsSeparator",&_argc0
))
3768 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
3773 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
3774 _resultobj
= Py_BuildValue("i",_result
);
3778 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3779 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
) {
3780 PyObject
* _resultobj
;
3786 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsEnabled",&_argc0
))
3789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
3794 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
3795 _resultobj
= Py_BuildValue("i",_result
);
3799 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
3800 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
) {
3801 PyObject
* _resultobj
;
3807 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsChecked",&_argc0
))
3810 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
3815 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
3816 _resultobj
= Py_BuildValue("i",_result
);
3820 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
3821 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
) {
3822 PyObject
* _resultobj
;
3828 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_IsCheckable",&_argc0
))
3831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
3836 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
3837 _resultobj
= Py_BuildValue("i",_result
);
3841 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
3842 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
) {
3843 PyObject
* _resultobj
;
3849 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetId",&_argc0
))
3852 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
3857 _result
= (int )wxMenuItem_GetId(_arg0
);
3858 _resultobj
= Py_BuildValue("i",_result
);
3862 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
3863 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
) {
3864 PyObject
* _resultobj
;
3871 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetSubMenu",&_argc0
))
3874 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
3879 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
3880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
3881 _resultobj
= Py_BuildValue("s",_ptemp
);
3885 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
3886 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
) {
3887 PyObject
* _resultobj
;
3893 if(!PyArg_ParseTuple(args
,"s:wxMenuItem_GetHelp",&_argc0
))
3896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
3901 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
3902 _result
= (wxString
*) &_result_ref
;
3904 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3909 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
3910 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
) {
3911 PyObject
* _resultobj
;
3915 PyObject
* _obj1
= 0;
3918 if(!PyArg_ParseTuple(args
,"sO:wxMenuItem_SetHelp",&_argc0
,&_obj1
))
3921 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
3927 if (!PyString_Check(_obj1
)) {
3928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3931 _arg1
= new wxString(PyString_AsString(_obj1
));
3933 wxMenuItem_SetHelp(_arg0
,*_arg1
);
3935 _resultobj
= Py_None
;
3943 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
3944 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
) {
3945 PyObject
* _resultobj
;
3952 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Enable",&_argc0
,&tempbool1
))
3955 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
3960 _arg1
= (bool ) tempbool1
;
3961 wxMenuItem_Enable(_arg0
,_arg1
);
3963 _resultobj
= Py_None
;
3967 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
3968 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
) {
3969 PyObject
* _resultobj
;
3976 if(!PyArg_ParseTuple(args
,"s|i:wxMenuItem_Check",&_argc0
,&tempbool1
))
3979 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMenuItem_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
3984 _arg1
= (bool ) tempbool1
;
3985 wxMenuItem_Check(_arg0
,_arg1
);
3987 _resultobj
= Py_None
;
3991 static PyMethodDef windowscMethods
[] = {
3992 { "wxMenuItem_Check", _wrap_wxMenuItem_Check
, 1 },
3993 { "wxMenuItem_Enable", _wrap_wxMenuItem_Enable
, 1 },
3994 { "wxMenuItem_SetHelp", _wrap_wxMenuItem_SetHelp
, 1 },
3995 { "wxMenuItem_GetHelp", _wrap_wxMenuItem_GetHelp
, 1 },
3996 { "wxMenuItem_GetSubMenu", _wrap_wxMenuItem_GetSubMenu
, 1 },
3997 { "wxMenuItem_GetId", _wrap_wxMenuItem_GetId
, 1 },
3998 { "wxMenuItem_IsCheckable", _wrap_wxMenuItem_IsCheckable
, 1 },
3999 { "wxMenuItem_IsChecked", _wrap_wxMenuItem_IsChecked
, 1 },
4000 { "wxMenuItem_IsEnabled", _wrap_wxMenuItem_IsEnabled
, 1 },
4001 { "wxMenuItem_IsSeparator", _wrap_wxMenuItem_IsSeparator
, 1 },
4002 { "wxMenuBar_GetMenu", _wrap_wxMenuBar_GetMenu
, 1 },
4003 { "wxMenuBar_GetMenuCount", _wrap_wxMenuBar_GetMenuCount
, 1 },
4004 { "wxMenuBar_FindItemForId", _wrap_wxMenuBar_FindItemForId
, 1 },
4005 { "wxMenuBar_FindMenuItem", _wrap_wxMenuBar_FindMenuItem
, 1 },
4006 { "wxMenuBar_Enabled", _wrap_wxMenuBar_Enabled
, 1 },
4007 { "wxMenuBar_Enable", _wrap_wxMenuBar_Enable
, 1 },
4008 { "wxMenuBar_Checked", _wrap_wxMenuBar_Checked
, 1 },
4009 { "wxMenuBar_Check", _wrap_wxMenuBar_Check
, 1 },
4010 { "wxMenuBar_Append", _wrap_wxMenuBar_Append
, 1 },
4011 { "new_wxMenuBar", _wrap_new_wxMenuBar
, 1 },
4012 { "delete_wxPyMenu", _wrap_delete_wxPyMenu
, 1 },
4013 { "new_wxPyMenu", _wrap_new_wxPyMenu
, 1 },
4014 { "wxMenu_SetLabel", _wrap_wxMenu_SetLabel
, 1 },
4015 { "wxMenu_IsEnabled", _wrap_wxMenu_IsEnabled
, 1 },
4016 { "wxMenu_IsChecked", _wrap_wxMenu_IsChecked
, 1 },
4017 { "wxMenu_SetHelpString", _wrap_wxMenu_SetHelpString
, 1 },
4018 { "wxMenu_GetLabel", _wrap_wxMenu_GetLabel
, 1 },
4019 { "wxMenu_GetHelpString", _wrap_wxMenu_GetHelpString
, 1 },
4020 { "wxMenu_FindItemForId", _wrap_wxMenu_FindItemForId
, 1 },
4021 { "wxMenu_FindItem", _wrap_wxMenu_FindItem
, 1 },
4022 { "wxMenu_Enable", _wrap_wxMenu_Enable
, 1 },
4023 { "wxMenu_Check", _wrap_wxMenu_Check
, 1 },
4024 { "wxMenu_Break", _wrap_wxMenu_Break
, 1 },
4025 { "wxMenu_AppendSeparator", _wrap_wxMenu_AppendSeparator
, 1 },
4026 { "wxMenu_AppendMenu", _wrap_wxMenu_AppendMenu
, 1 },
4027 { "wxMenu_Append", _wrap_wxMenu_Append
, 1 },
4028 { "new_wxMenu", _wrap_new_wxMenu
, 1 },
4029 { "wxScrolledWindow_ViewStart", _wrap_wxScrolledWindow_ViewStart
, 1 },
4030 { "wxScrolledWindow_SetScrollbars", _wrap_wxScrolledWindow_SetScrollbars
, 1 },
4031 { "wxScrolledWindow_Scroll", _wrap_wxScrolledWindow_Scroll
, 1 },
4032 { "wxScrolledWindow_PrepareDC", _wrap_wxScrolledWindow_PrepareDC
, 1 },
4033 { "wxScrolledWindow_IsRetained", _wrap_wxScrolledWindow_IsRetained
, 1 },
4034 { "wxScrolledWindow_GetVirtualSize", _wrap_wxScrolledWindow_GetVirtualSize
, 1 },
4035 { "wxScrolledWindow_GetScrollPixelsPerUnit", _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, 1 },
4036 { "wxScrolledWindow_EnableScrolling", _wrap_wxScrolledWindow_EnableScrolling
, 1 },
4037 { "new_wxScrolledWindow", _wrap_new_wxScrolledWindow
, 1 },
4038 { "wxDialog_ShowModal", _wrap_wxDialog_ShowModal
, 1 },
4039 { "wxDialog_Show", _wrap_wxDialog_Show
, 1 },
4040 { "wxDialog_SetTitle", _wrap_wxDialog_SetTitle
, 1 },
4041 { "wxDialog_IsModal", _wrap_wxDialog_IsModal
, 1 },
4042 { "wxDialog_SetModal", _wrap_wxDialog_SetModal
, 1 },
4043 { "wxDialog_IsIconized", _wrap_wxDialog_IsIconized
, 1 },
4044 { "wxDialog_Iconize", _wrap_wxDialog_Iconize
, 1 },
4045 { "wxDialog_GetTitle", _wrap_wxDialog_GetTitle
, 1 },
4046 { "wxDialog_EndModal", _wrap_wxDialog_EndModal
, 1 },
4047 { "wxDialog_Centre", _wrap_wxDialog_Centre
, 1 },
4048 { "new_wxDialog", _wrap_new_wxDialog
, 1 },
4049 { "wxPanel_InitDialog", _wrap_wxPanel_InitDialog
, 1 },
4050 { "new_wxPanel", _wrap_new_wxPanel
, 1 },
4051 { "wxWindow_ConvertPixelSizeToDialog", _wrap_wxWindow_ConvertPixelSizeToDialog
, 1 },
4052 { "wxWindow_ConvertPixelPointToDialog", _wrap_wxWindow_ConvertPixelPointToDialog
, 1 },
4053 { "wxWindow_ConvertDialogSizeToPixels", _wrap_wxWindow_ConvertDialogSizeToPixels
, 1 },
4054 { "wxWindow_ConvertDialogPointToPixels", _wrap_wxWindow_ConvertDialogPointToPixels
, 1 },
4055 { "wxWindow_Validate", _wrap_wxWindow_Validate
, 1 },
4056 { "wxWindow_TransferDataToWindow", _wrap_wxWindow_TransferDataToWindow
, 1 },
4057 { "wxWindow_TransferDataFromWindow", _wrap_wxWindow_TransferDataFromWindow
, 1 },
4058 { "wxWindow_Show", _wrap_wxWindow_Show
, 1 },
4059 { "wxWindow_SetTitle", _wrap_wxWindow_SetTitle
, 1 },
4060 { "wxWindow_SetCursor", _wrap_wxWindow_SetCursor
, 1 },
4061 { "wxWindow_SetClientSize", _wrap_wxWindow_SetClientSize
, 1 },
4062 { "wxWindow_SetSizeHints", _wrap_wxWindow_SetSizeHints
, 1 },
4063 { "wxWindow_SetPosition", _wrap_wxWindow_SetPosition
, 1 },
4064 { "wxWindow_SetSize", _wrap_wxWindow_SetSize
, 1 },
4065 { "wxWindow_SetDimensions", _wrap_wxWindow_SetDimensions
, 1 },
4066 { "wxWindow_SetScrollPos", _wrap_wxWindow_SetScrollPos
, 1 },
4067 { "wxWindow_SetScrollbar", _wrap_wxWindow_SetScrollbar
, 1 },
4068 { "wxWindow_SetReturnCode", _wrap_wxWindow_SetReturnCode
, 1 },
4069 { "wxWindow_SetName", _wrap_wxWindow_SetName
, 1 },
4070 { "wxWindow_SetId", _wrap_wxWindow_SetId
, 1 },
4071 { "wxWindow_SetForegroundColour", _wrap_wxWindow_SetForegroundColour
, 1 },
4072 { "wxWindow_SetFont", _wrap_wxWindow_SetFont
, 1 },
4073 { "wxWindow_SetFocus", _wrap_wxWindow_SetFocus
, 1 },
4074 { "wxWindow_SetDoubleClick", _wrap_wxWindow_SetDoubleClick
, 1 },
4075 { "wxWindow_SetConstraints", _wrap_wxWindow_SetConstraints
, 1 },
4076 { "wxWindow_SetBackgroundColour", _wrap_wxWindow_SetBackgroundColour
, 1 },
4077 { "wxWindow_SetAutoLayout", _wrap_wxWindow_SetAutoLayout
, 1 },
4078 { "wxWindow_SetAcceleratorTable", _wrap_wxWindow_SetAcceleratorTable
, 1 },
4079 { "wxWindow_ScrollWindow", _wrap_wxWindow_ScrollWindow
, 1 },
4080 { "wxWindow_ScreenToClient", _wrap_wxWindow_ScreenToClient
, 1 },
4081 { "wxWindow_ReleaseMouse", _wrap_wxWindow_ReleaseMouse
, 1 },
4082 { "wxWindow_Refresh", _wrap_wxWindow_Refresh
, 1 },
4083 { "wxWindow_Raise", _wrap_wxWindow_Raise
, 1 },
4084 { "wxWindow_PopupMenu", _wrap_wxWindow_PopupMenu
, 1 },
4085 { "wxWindow_Move", _wrap_wxWindow_Move
, 1 },
4086 { "wxWindow_MakeModal", _wrap_wxWindow_MakeModal
, 1 },
4087 { "wxWindow_Lower", _wrap_wxWindow_Lower
, 1 },
4088 { "wxWindow_LoadFromResource", _wrap_wxWindow_LoadFromResource
, 1 },
4089 { "wxWindow_Layout", _wrap_wxWindow_Layout
, 1 },
4090 { "wxWindow_IsShown", _wrap_wxWindow_IsShown
, 1 },
4091 { "wxWindow_IsRetained", _wrap_wxWindow_IsRetained
, 1 },
4092 { "wxWindow_IsEnabled", _wrap_wxWindow_IsEnabled
, 1 },
4093 { "wxWindow_InitDialog", _wrap_wxWindow_InitDialog
, 1 },
4094 { "wxWindow_GetWindowStyleFlag", _wrap_wxWindow_GetWindowStyleFlag
, 1 },
4095 { "wxWindow_GetTitle", _wrap_wxWindow_GetTitle
, 1 },
4096 { "wxWindow_GetTextExtent", _wrap_wxWindow_GetTextExtent
, 1 },
4097 { "wxWindow_GetSizeTuple", _wrap_wxWindow_GetSizeTuple
, 1 },
4098 { "wxWindow_GetScrollRange", _wrap_wxWindow_GetScrollRange
, 1 },
4099 { "wxWindow_GetScrollPos", _wrap_wxWindow_GetScrollPos
, 1 },
4100 { "wxWindow_GetScrollThumb", _wrap_wxWindow_GetScrollThumb
, 1 },
4101 { "wxWindow_GetReturnCode", _wrap_wxWindow_GetReturnCode
, 1 },
4102 { "wxWindow_GetPositionTuple", _wrap_wxWindow_GetPositionTuple
, 1 },
4103 { "wxWindow_GetParent", _wrap_wxWindow_GetParent
, 1 },
4104 { "wxWindow_GetName", _wrap_wxWindow_GetName
, 1 },
4105 { "wxWindow_GetLabel", _wrap_wxWindow_GetLabel
, 1 },
4106 { "wxWindow_GetId", _wrap_wxWindow_GetId
, 1 },
4107 { "wxWindow_GetGrandParent", _wrap_wxWindow_GetGrandParent
, 1 },
4108 { "wxWindow_GetForegroundColour", _wrap_wxWindow_GetForegroundColour
, 1 },
4109 { "wxWindow_GetFont", _wrap_wxWindow_GetFont
, 1 },
4110 { "wxWindow_GetConstraints", _wrap_wxWindow_GetConstraints
, 1 },
4111 { "wxWindow_GetClientSize", _wrap_wxWindow_GetClientSize
, 1 },
4112 { "wxWindow_GetClientSizeTuple", _wrap_wxWindow_GetClientSizeTuple
, 1 },
4113 { "wxWindow_GetCharWidth", _wrap_wxWindow_GetCharWidth
, 1 },
4114 { "wxWindow_GetCharHeight", _wrap_wxWindow_GetCharHeight
, 1 },
4115 { "wxWindow_GetBackgroundColour", _wrap_wxWindow_GetBackgroundColour
, 1 },
4116 { "wxWindow_Fit", _wrap_wxWindow_Fit
, 1 },
4117 { "wxWindow_FindWindowByName", _wrap_wxWindow_FindWindowByName
, 1 },
4118 { "wxWindow_FindWindowByID", _wrap_wxWindow_FindWindowByID
, 1 },
4119 { "wxWindow_Enable", _wrap_wxWindow_Enable
, 1 },
4120 { "wxWindow_DestroyChildren", _wrap_wxWindow_DestroyChildren
, 1 },
4121 { "wxWindow_Destroy", _wrap_wxWindow_Destroy
, 1 },
4122 { "wxWindow_Close", _wrap_wxWindow_Close
, 1 },
4123 { "wxWindow_ClientToScreen", _wrap_wxWindow_ClientToScreen
, 1 },
4124 { "wxWindow_Centre", _wrap_wxWindow_Centre
, 1 },
4125 { "wxWindow_Center", _wrap_wxWindow_Center
, 1 },
4126 { "wxWindow_CaptureMouse", _wrap_wxWindow_CaptureMouse
, 1 },
4127 { "new_wxWindow", _wrap_new_wxWindow
, 1 },
4128 { "wxEvtHandler_Connect", _wrap_wxEvtHandler_Connect
, 1 },
4131 static PyObject
*SWIG_globals
;
4135 SWIGEXPORT(void,initwindowsc
)() {
4137 SWIG_globals
= SWIG_newvarlink();
4138 m
= Py_InitModule("windowsc", windowscMethods
);
4139 d
= PyModule_GetDict(m
);
4141 * These are the pointer type-equivalency mappings.
4142 * (Used by the SWIG pointer type-checker).
4144 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4145 SWIG_RegisterMapping("_signed_long","_long",0);
4146 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4147 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4148 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4149 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4150 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4151 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4152 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4153 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4154 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4155 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4156 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4157 SWIG_RegisterMapping("_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4158 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4159 SWIG_RegisterMapping("_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4160 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4161 SWIG_RegisterMapping("_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4162 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4163 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4164 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4165 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4166 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4167 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4168 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4169 SWIG_RegisterMapping("_long","_wxDash",0);
4170 SWIG_RegisterMapping("_long","_unsigned_long",0);
4171 SWIG_RegisterMapping("_long","_signed_long",0);
4172 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4173 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4174 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4175 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4176 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4177 SWIG_RegisterMapping("_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4178 SWIG_RegisterMapping("_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4179 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4180 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4181 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4182 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4183 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4184 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4185 SWIG_RegisterMapping("_uint","_int",0);
4186 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4187 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4188 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4189 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4190 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4191 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4192 SWIG_RegisterMapping("_EBool","_signed_int",0);
4193 SWIG_RegisterMapping("_EBool","_int",0);
4194 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4195 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4196 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4197 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4198 SWIG_RegisterMapping("_unsigned_long","_long",0);
4199 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4200 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4201 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4202 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4203 SWIG_RegisterMapping("_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
);
4204 SWIG_RegisterMapping("_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
);
4205 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4206 SWIG_RegisterMapping("_signed_int","_EBool",0);
4207 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4208 SWIG_RegisterMapping("_signed_int","_int",0);
4209 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4210 SWIG_RegisterMapping("_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4211 SWIG_RegisterMapping("_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4212 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4213 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4214 SWIG_RegisterMapping("_WXTYPE","_short",0);
4215 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4216 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4217 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4218 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4219 SWIG_RegisterMapping("_unsigned_short","_short",0);
4220 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4221 SWIG_RegisterMapping("_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4222 SWIG_RegisterMapping("_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4223 SWIG_RegisterMapping("_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4224 SWIG_RegisterMapping("_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4225 SWIG_RegisterMapping("_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4226 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4227 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4228 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4229 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4230 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4231 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4232 SWIG_RegisterMapping("_signed_short","_short",0);
4233 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4234 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4235 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4236 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4237 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4238 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4239 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4240 SWIG_RegisterMapping("_class_wxMenu","_class_wxPyMenu",SwigwxPyMenuTowxMenu
);
4241 SWIG_RegisterMapping("_class_wxMenu","_wxPyMenu",SwigwxPyMenuTowxMenu
);
4242 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4243 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4244 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4245 SWIG_RegisterMapping("_unsigned_int","_int",0);
4246 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4247 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4248 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4249 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4250 SWIG_RegisterMapping("_short","_WXTYPE",0);
4251 SWIG_RegisterMapping("_short","_unsigned_short",0);
4252 SWIG_RegisterMapping("_short","_signed_short",0);
4253 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4254 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4255 SWIG_RegisterMapping("_wxWindowID","_int",0);
4256 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4257 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4258 SWIG_RegisterMapping("_int","_EBool",0);
4259 SWIG_RegisterMapping("_int","_uint",0);
4260 SWIG_RegisterMapping("_int","_wxWindowID",0);
4261 SWIG_RegisterMapping("_int","_unsigned_int",0);
4262 SWIG_RegisterMapping("_int","_signed_int",0);
4263 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4264 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4265 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4266 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4267 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4268 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4269 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4270 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4271 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4272 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4273 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4274 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4275 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4276 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4277 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4278 SWIG_RegisterMapping("_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
);
4279 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4280 SWIG_RegisterMapping("_wxEvtHandler","_wxPyMenu",SwigwxPyMenuTowxEvtHandler
);
4281 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
);
4282 SWIG_RegisterMapping("_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
);
4283 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4284 SWIG_RegisterMapping("_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
);
4285 SWIG_RegisterMapping("_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
);
4286 SWIG_RegisterMapping("_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
);
4287 SWIG_RegisterMapping("_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
);
4288 SWIG_RegisterMapping("_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
);
4289 SWIG_RegisterMapping("_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
);
4290 SWIG_RegisterMapping("_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
);
4291 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4292 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4293 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4294 SWIG_RegisterMapping("_wxDash","_long",0);
4295 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4296 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4297 SWIG_RegisterMapping("_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4298 SWIG_RegisterMapping("_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
);
4299 SWIG_RegisterMapping("_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
);
4300 SWIG_RegisterMapping("_wxWindow","_wxDialog",SwigwxDialogTowxWindow
);
4301 SWIG_RegisterMapping("_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
);
4302 SWIG_RegisterMapping("_wxWindow","_wxPanel",SwigwxPanelTowxWindow
);
4303 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);