2 * FILE : gtk/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
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 char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindowsc
54 #define SWIG_name "windowsc"
57 #include <wx/menuitem.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
121 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
122 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
125 wxEvtHandler
* _arg0
;
127 PyObject
* _argo0
= 0;
128 PyObject
* _argo1
= 0;
129 char *_kwnames
[] = { "self","event", NULL
};
132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
149 wxPy_BEGIN_ALLOW_THREADS
;
150 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
152 wxPy_END_ALLOW_THREADS
;
153 } _resultobj
= Py_BuildValue("i",_result
);
157 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
158 if (PyCallable_Check(func
)) {
159 self
->Connect(id
, lastId
, eventType
,
160 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
161 new wxPyCallback(func
));
164 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
166 wxEvtHandler
* _arg0
;
171 PyObject
* _argo0
= 0;
172 PyObject
* _obj4
= 0;
173 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
189 wxPy_BEGIN_ALLOW_THREADS
;
190 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
192 wxPy_END_ALLOW_THREADS
;
193 } Py_INCREF(Py_None
);
194 _resultobj
= Py_None
;
198 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
201 src
= (wxWindow
*) ptr
;
202 dest
= (wxEvtHandler
*) src
;
203 return (void *) dest
;
206 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
207 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
212 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
213 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
214 long _arg4
= (long ) 0;
215 char * _arg5
= (char *) "panel";
216 PyObject
* _argo0
= 0;
217 PyObject
* _argo2
= 0;
218 PyObject
* _argo3
= 0;
219 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
233 if (_argo2
== Py_None
) { _arg2
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxWindow. Expected _wxPoint_p.");
240 if (_argo3
== Py_None
) { _arg3
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxWindow. Expected _wxSize_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
250 wxPy_END_ALLOW_THREADS
;
252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
253 _resultobj
= Py_BuildValue("s",_ptemp
);
256 _resultobj
= Py_None
;
261 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
262 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
265 PyObject
* _argo0
= 0;
266 char *_kwnames
[] = { "self", NULL
};
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
279 wxPy_BEGIN_ALLOW_THREADS
;
280 wxWindow_CaptureMouse(_arg0
);
282 wxPy_END_ALLOW_THREADS
;
283 } Py_INCREF(Py_None
);
284 _resultobj
= Py_None
;
288 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
289 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
292 int _arg1
= (int ) wxBOTH
;
293 PyObject
* _argo0
= 0;
294 char *_kwnames
[] = { "self","direction", NULL
};
297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
307 wxPy_BEGIN_ALLOW_THREADS
;
308 wxWindow_Center(_arg0
,_arg1
);
310 wxPy_END_ALLOW_THREADS
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
317 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
320 int _arg1
= (int ) wxBOTH
;
321 PyObject
* _argo0
= 0;
322 char *_kwnames
[] = { "self","direction", NULL
};
325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
335 wxPy_BEGIN_ALLOW_THREADS
;
336 wxWindow_Centre(_arg0
,_arg1
);
338 wxPy_END_ALLOW_THREADS
;
339 } Py_INCREF(Py_None
);
340 _resultobj
= Py_None
;
344 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
345 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
346 PyObject
* _resultobj
;
348 int _arg1
= (int ) wxBOTH
;
349 PyObject
* _argo0
= 0;
350 char *_kwnames
[] = { "self","direction", NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
363 wxPy_BEGIN_ALLOW_THREADS
;
364 wxWindow_CentreOnParent(_arg0
,_arg1
);
366 wxPy_END_ALLOW_THREADS
;
367 } Py_INCREF(Py_None
);
368 _resultobj
= Py_None
;
372 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
373 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
374 PyObject
* _resultobj
;
376 int _arg1
= (int ) wxBOTH
;
377 PyObject
* _argo0
= 0;
378 char *_kwnames
[] = { "self","direction", NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
391 wxPy_BEGIN_ALLOW_THREADS
;
392 wxWindow_CenterOnParent(_arg0
,_arg1
);
394 wxPy_END_ALLOW_THREADS
;
395 } Py_INCREF(Py_None
);
396 _resultobj
= Py_None
;
400 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
401 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
406 PyObject
* _argo0
= 0;
408 PyObject
* _obj1
= 0;
410 PyObject
* _obj2
= 0;
411 char *_kwnames
[] = { "self","x","y", NULL
};
414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
424 temp
= (int) PyInt_AsLong(_obj1
);
428 temp0
= (int) PyInt_AsLong(_obj2
);
432 wxPy_BEGIN_ALLOW_THREADS
;
433 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
435 wxPy_END_ALLOW_THREADS
;
436 } Py_INCREF(Py_None
);
437 _resultobj
= Py_None
;
440 o
= PyInt_FromLong((long) (*_arg1
));
441 _resultobj
= t_output_helper(_resultobj
, o
);
445 o
= PyInt_FromLong((long) (*_arg2
));
446 _resultobj
= t_output_helper(_resultobj
, o
);
451 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
452 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
457 PyObject
* _argo0
= 0;
458 PyObject
* _argo1
= 0;
459 char *_kwnames
[] = { "self","pt", NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_argo1
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ClientToScreen. Expected _wxPoint_p.");
480 wxPy_BEGIN_ALLOW_THREADS
;
481 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
483 wxPy_END_ALLOW_THREADS
;
484 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
485 _resultobj
= Py_BuildValue("s",_ptemp
);
489 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
490 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
494 int _arg1
= (int ) FALSE
;
495 PyObject
* _argo0
= 0;
496 char *_kwnames
[] = { "self","force", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
509 wxPy_BEGIN_ALLOW_THREADS
;
510 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
512 wxPy_END_ALLOW_THREADS
;
513 } _resultobj
= Py_BuildValue("i",_result
);
517 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
518 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
522 PyObject
* _argo0
= 0;
523 char *_kwnames
[] = { "self", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
536 wxPy_BEGIN_ALLOW_THREADS
;
537 _result
= (bool )wxWindow_Destroy(_arg0
);
539 wxPy_END_ALLOW_THREADS
;
540 } _resultobj
= Py_BuildValue("i",_result
);
544 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
545 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
546 PyObject
* _resultobj
;
548 PyObject
* _argo0
= 0;
549 char *_kwnames
[] = { "self", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
562 wxPy_BEGIN_ALLOW_THREADS
;
563 wxWindow_DestroyChildren(_arg0
);
565 wxPy_END_ALLOW_THREADS
;
566 } Py_INCREF(Py_None
);
567 _resultobj
= Py_None
;
571 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
572 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 PyObject
* _resultobj
;
576 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self","enable", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
590 _arg1
= (bool ) tempbool1
;
592 wxPy_BEGIN_ALLOW_THREADS
;
593 wxWindow_Enable(_arg0
,_arg1
);
595 wxPy_END_ALLOW_THREADS
;
596 } Py_INCREF(Py_None
);
597 _resultobj
= Py_None
;
601 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
602 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self","id", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
622 wxPy_BEGIN_ALLOW_THREADS
;
623 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
625 wxPy_END_ALLOW_THREADS
;
627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
628 _resultobj
= Py_BuildValue("s",_ptemp
);
631 _resultobj
= Py_None
;
636 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
637 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
642 PyObject
* _argo0
= 0;
643 PyObject
* _obj1
= 0;
644 char *_kwnames
[] = { "self","name", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
658 if (!PyString_Check(_obj1
)) {
659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
662 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
665 wxPy_BEGIN_ALLOW_THREADS
;
666 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
668 wxPy_END_ALLOW_THREADS
;
670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
671 _resultobj
= Py_BuildValue("s",_ptemp
);
674 _resultobj
= Py_None
;
683 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
684 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
688 char *_kwnames
[] = { "self", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
701 wxPy_BEGIN_ALLOW_THREADS
;
704 wxPy_END_ALLOW_THREADS
;
705 } Py_INCREF(Py_None
);
706 _resultobj
= Py_None
;
710 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
711 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
712 PyObject
* _resultobj
;
715 PyObject
* _argo0
= 0;
716 char *_kwnames
[] = { "self", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
730 wxPy_BEGIN_ALLOW_THREADS
;
731 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
733 wxPy_END_ALLOW_THREADS
;
734 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
735 _resultobj
= Py_BuildValue("s",_ptemp
);
739 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
740 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
741 PyObject
* _resultobj
;
744 PyObject
* _argo0
= 0;
745 char *_kwnames
[] = { "self", NULL
};
748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
758 wxPy_BEGIN_ALLOW_THREADS
;
759 _result
= (int )wxWindow_GetCharHeight(_arg0
);
761 wxPy_END_ALLOW_THREADS
;
762 } _resultobj
= Py_BuildValue("i",_result
);
766 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
767 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
768 PyObject
* _resultobj
;
771 PyObject
* _argo0
= 0;
772 char *_kwnames
[] = { "self", NULL
};
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
785 wxPy_BEGIN_ALLOW_THREADS
;
786 _result
= (int )wxWindow_GetCharWidth(_arg0
);
788 wxPy_END_ALLOW_THREADS
;
789 } _resultobj
= Py_BuildValue("i",_result
);
793 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
794 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
795 PyObject
* _resultobj
;
801 PyObject
* _argo0
= 0;
802 char *_kwnames
[] = { "self", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
821 wxPy_BEGIN_ALLOW_THREADS
;
822 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
824 wxPy_END_ALLOW_THREADS
;
825 } Py_INCREF(Py_None
);
826 _resultobj
= Py_None
;
829 o
= PyInt_FromLong((long) (*_arg1
));
830 _resultobj
= t_output_helper(_resultobj
, o
);
834 o
= PyInt_FromLong((long) (*_arg2
));
835 _resultobj
= t_output_helper(_resultobj
, o
);
840 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
841 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 PyObject
* _resultobj
;
845 PyObject
* _argo0
= 0;
846 char *_kwnames
[] = { "self", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
860 wxPy_BEGIN_ALLOW_THREADS
;
861 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
863 wxPy_END_ALLOW_THREADS
;
864 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
865 _resultobj
= Py_BuildValue("s",_ptemp
);
869 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
870 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
872 wxLayoutConstraints
* _result
;
874 PyObject
* _argo0
= 0;
875 char *_kwnames
[] = { "self", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
889 wxPy_BEGIN_ALLOW_THREADS
;
890 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
892 wxPy_END_ALLOW_THREADS
;
894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
895 _resultobj
= Py_BuildValue("s",_ptemp
);
898 _resultobj
= Py_None
;
903 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
904 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
923 wxPy_BEGIN_ALLOW_THREADS
;
924 wxFont
& _result_ref
= wxWindow_GetFont(_arg0
);
925 _result
= (wxFont
*) &_result_ref
;
927 wxPy_END_ALLOW_THREADS
;
929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
930 _resultobj
= Py_BuildValue("s",_ptemp
);
933 _resultobj
= Py_None
;
938 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
939 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 PyObject
* _resultobj
;
943 PyObject
* _argo0
= 0;
944 char *_kwnames
[] = { "self", NULL
};
948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
958 wxPy_BEGIN_ALLOW_THREADS
;
959 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
961 wxPy_END_ALLOW_THREADS
;
962 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
963 _resultobj
= Py_BuildValue("s",_ptemp
);
967 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
968 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
969 PyObject
* _resultobj
;
972 PyObject
* _argo0
= 0;
973 char *_kwnames
[] = { "self", NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
987 wxPy_BEGIN_ALLOW_THREADS
;
988 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
990 wxPy_END_ALLOW_THREADS
;
992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
993 _resultobj
= Py_BuildValue("s",_ptemp
);
996 _resultobj
= Py_None
;
1001 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1002 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1006 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "self", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 _result
= (int )wxWindow_GetId(_arg0
);
1023 wxPy_END_ALLOW_THREADS
;
1024 } _resultobj
= Py_BuildValue("i",_result
);
1028 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
1029 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1033 PyObject
* _argo0
= 0;
1034 char *_kwnames
[] = { "self", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
1047 wxPy_BEGIN_ALLOW_THREADS
;
1048 _result
= new wxString (wxWindow_GetLabel(_arg0
));
1050 wxPy_END_ALLOW_THREADS
;
1052 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1060 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1061 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1065 PyObject
* _argo0
= 0;
1066 PyObject
* _obj1
= 0;
1067 char *_kwnames
[] = { "self","label", NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
1073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
1080 if (!PyString_Check(_obj1
)) {
1081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1084 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 wxWindow_SetLabel(_arg0
,*_arg1
);
1090 wxPy_END_ALLOW_THREADS
;
1091 } Py_INCREF(Py_None
);
1092 _resultobj
= Py_None
;
1100 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
1101 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
* _resultobj
;
1105 PyObject
* _argo0
= 0;
1106 char *_kwnames
[] = { "self", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
1119 wxPy_BEGIN_ALLOW_THREADS
;
1120 _result
= new wxString (wxWindow_GetName(_arg0
));
1122 wxPy_END_ALLOW_THREADS
;
1124 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1132 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
1133 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1137 PyObject
* _argo0
= 0;
1138 char *_kwnames
[] = { "self", NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
1145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
1152 wxPy_BEGIN_ALLOW_THREADS
;
1153 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
1155 wxPy_END_ALLOW_THREADS
;
1157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1158 _resultobj
= Py_BuildValue("s",_ptemp
);
1161 _resultobj
= Py_None
;
1166 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1167 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1174 PyObject
* _argo0
= 0;
1175 char *_kwnames
[] = { "self", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
1187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1197 wxPy_END_ALLOW_THREADS
;
1198 } Py_INCREF(Py_None
);
1199 _resultobj
= Py_None
;
1202 o
= PyInt_FromLong((long) (*_arg1
));
1203 _resultobj
= t_output_helper(_resultobj
, o
);
1207 o
= PyInt_FromLong((long) (*_arg2
));
1208 _resultobj
= t_output_helper(_resultobj
, o
);
1213 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
1214 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1218 PyObject
* _argo0
= 0;
1219 char *_kwnames
[] = { "self", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
1236 wxPy_END_ALLOW_THREADS
;
1237 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1238 _resultobj
= Py_BuildValue("s",_ptemp
);
1242 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
1243 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
1255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
1262 wxPy_BEGIN_ALLOW_THREADS
;
1263 _result
= new wxRect (wxWindow_GetRect(_arg0
));
1265 wxPy_END_ALLOW_THREADS
;
1266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1267 _resultobj
= Py_BuildValue("s",_ptemp
);
1271 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
1272 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1277 PyObject
* _argo0
= 0;
1278 char *_kwnames
[] = { "self","orientation", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
1284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
1291 wxPy_BEGIN_ALLOW_THREADS
;
1292 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
1294 wxPy_END_ALLOW_THREADS
;
1295 } _resultobj
= Py_BuildValue("i",_result
);
1299 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
1300 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1305 PyObject
* _argo0
= 0;
1306 char *_kwnames
[] = { "self","orientation", NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
1312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } _resultobj
= Py_BuildValue("i",_result
);
1327 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
1328 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1333 PyObject
* _argo0
= 0;
1334 char *_kwnames
[] = { "self","orientation", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
1340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
1350 wxPy_END_ALLOW_THREADS
;
1351 } _resultobj
= Py_BuildValue("i",_result
);
1355 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1356 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1363 PyObject
* _argo0
= 0;
1364 char *_kwnames
[] = { "self", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1386 wxPy_END_ALLOW_THREADS
;
1387 } Py_INCREF(Py_None
);
1388 _resultobj
= Py_None
;
1391 o
= PyInt_FromLong((long) (*_arg1
));
1392 _resultobj
= t_output_helper(_resultobj
, o
);
1396 o
= PyInt_FromLong((long) (*_arg2
));
1397 _resultobj
= t_output_helper(_resultobj
, o
);
1402 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
1403 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 _result
= new wxSize (wxWindow_GetSize(_arg0
));
1425 wxPy_END_ALLOW_THREADS
;
1426 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1427 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1432 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 PyObject
* _obj1
= 0;
1442 char *_kwnames
[] = { "self","string", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
1461 if (!PyString_Check(_obj1
)) {
1462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1465 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } Py_INCREF(Py_None
);
1473 _resultobj
= Py_None
;
1476 o
= PyInt_FromLong((long) (*_arg2
));
1477 _resultobj
= t_output_helper(_resultobj
, o
);
1481 o
= PyInt_FromLong((long) (*_arg3
));
1482 _resultobj
= t_output_helper(_resultobj
, o
);
1491 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1492 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1504 wxFont
* _arg6
= (wxFont
*) NULL
;
1505 PyObject
* _argo0
= 0;
1506 PyObject
* _obj1
= 0;
1507 PyObject
* _argo6
= 0;
1508 char *_kwnames
[] = { "self","string","font", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
1526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
1533 if (!PyString_Check(_obj1
)) {
1534 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1537 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1540 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1550 wxPy_END_ALLOW_THREADS
;
1551 } Py_INCREF(Py_None
);
1552 _resultobj
= Py_None
;
1555 o
= PyInt_FromLong((long) (*_arg2
));
1556 _resultobj
= t_output_helper(_resultobj
, o
);
1560 o
= PyInt_FromLong((long) (*_arg3
));
1561 _resultobj
= t_output_helper(_resultobj
, o
);
1565 o
= PyInt_FromLong((long) (*_arg4
));
1566 _resultobj
= t_output_helper(_resultobj
, o
);
1570 o
= PyInt_FromLong((long) (*_arg5
));
1571 _resultobj
= t_output_helper(_resultobj
, o
);
1580 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
1581 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 _result
= new wxString (wxWindow_GetTitle(_arg0
));
1602 wxPy_END_ALLOW_THREADS
;
1604 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1612 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
1613 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1617 PyObject
* _argo0
= 0;
1618 char *_kwnames
[] = { "self", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
1625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
1632 wxPy_BEGIN_ALLOW_THREADS
;
1633 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
1635 wxPy_END_ALLOW_THREADS
;
1636 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
1637 _resultobj
= Py_BuildValue("s",_ptemp
);
1641 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
1642 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1646 PyObject
* _argo0
= 0;
1647 char *_kwnames
[] = { "self", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } _resultobj
= Py_BuildValue("l",_result
);
1668 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
1669 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1673 PyObject
* _argo0
= 0;
1674 char *_kwnames
[] = { "self", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 _result
= (bool )wxWindow_Hide(_arg0
);
1690 wxPy_END_ALLOW_THREADS
;
1691 } _resultobj
= Py_BuildValue("i",_result
);
1695 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
1696 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1699 PyObject
* _argo0
= 0;
1700 char *_kwnames
[] = { "self", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
1706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
1713 wxPy_BEGIN_ALLOW_THREADS
;
1714 wxWindow_InitDialog(_arg0
);
1716 wxPy_END_ALLOW_THREADS
;
1717 } Py_INCREF(Py_None
);
1718 _resultobj
= Py_None
;
1722 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
1723 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1727 PyObject
* _argo0
= 0;
1728 char *_kwnames
[] = { "self", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
1734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
1741 wxPy_BEGIN_ALLOW_THREADS
;
1742 _result
= (bool )wxWindow_IsEnabled(_arg0
);
1744 wxPy_END_ALLOW_THREADS
;
1745 } _resultobj
= Py_BuildValue("i",_result
);
1749 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
1750 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1754 PyObject
* _argo0
= 0;
1755 char *_kwnames
[] = { "self", NULL
};
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
1761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
1768 wxPy_BEGIN_ALLOW_THREADS
;
1769 _result
= (bool )wxWindow_IsRetained(_arg0
);
1771 wxPy_END_ALLOW_THREADS
;
1772 } _resultobj
= Py_BuildValue("i",_result
);
1776 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
1777 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1781 PyObject
* _argo0
= 0;
1782 char *_kwnames
[] = { "self", NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
1788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
1795 wxPy_BEGIN_ALLOW_THREADS
;
1796 _result
= (bool )wxWindow_IsShown(_arg0
);
1798 wxPy_END_ALLOW_THREADS
;
1799 } _resultobj
= Py_BuildValue("i",_result
);
1803 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
1804 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1808 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
1825 wxPy_END_ALLOW_THREADS
;
1826 } _resultobj
= Py_BuildValue("i",_result
);
1830 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
1831 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1834 PyObject
* _argo0
= 0;
1835 char *_kwnames
[] = { "self", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
1841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
1848 wxPy_BEGIN_ALLOW_THREADS
;
1849 wxWindow_Layout(_arg0
);
1851 wxPy_END_ALLOW_THREADS
;
1852 } Py_INCREF(Py_None
);
1853 _resultobj
= Py_None
;
1857 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
1858 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
* _resultobj
;
1864 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
1865 PyObject
* _argo0
= 0;
1866 PyObject
* _argo1
= 0;
1867 PyObject
* _obj2
= 0;
1868 PyObject
* _argo3
= 0;
1869 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1882 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1883 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
1889 if (!PyString_Check(_obj2
)) {
1890 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1893 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1896 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1897 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
1906 wxPy_END_ALLOW_THREADS
;
1907 } _resultobj
= Py_BuildValue("i",_result
);
1915 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
1916 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 wxWindow_Lower(_arg0
);
1936 wxPy_END_ALLOW_THREADS
;
1937 } Py_INCREF(Py_None
);
1938 _resultobj
= Py_None
;
1942 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
1943 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1947 PyObject
* _argo0
= 0;
1949 char *_kwnames
[] = { "self","flag", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
1955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
1961 _arg1
= (bool ) tempbool1
;
1963 wxPy_BEGIN_ALLOW_THREADS
;
1964 wxWindow_MakeModal(_arg0
,_arg1
);
1966 wxPy_END_ALLOW_THREADS
;
1967 } Py_INCREF(Py_None
);
1968 _resultobj
= Py_None
;
1972 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1973 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1978 PyObject
* _argo0
= 0;
1979 char *_kwnames
[] = { "self","x","y", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
);
1995 wxPy_END_ALLOW_THREADS
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2001 #define wxWindow_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2002 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2006 PyObject
* _argo0
= 0;
2007 PyObject
* _argo1
= 0;
2008 char *_kwnames
[] = { "self","point", NULL
};
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Move",_kwnames
,&_argo0
,&_argo1
))
2014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
2021 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Move. Expected _wxPoint_p.");
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 wxWindow_Move(_arg0
,*_arg1
);
2031 wxPy_END_ALLOW_THREADS
;
2032 } Py_INCREF(Py_None
);
2033 _resultobj
= Py_None
;
2037 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
2038 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
* _resultobj
;
2045 PyObject
* _argo0
= 0;
2046 PyObject
* _argo1
= 0;
2047 char *_kwnames
[] = { "self","menu","x","y", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
2060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
2067 wxPy_BEGIN_ALLOW_THREADS
;
2068 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
2070 wxPy_END_ALLOW_THREADS
;
2071 } _resultobj
= Py_BuildValue("i",_result
);
2075 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
2076 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2082 PyObject
* _argo0
= 0;
2083 PyObject
* _argo1
= 0;
2084 PyObject
* _argo2
= 0;
2085 char *_kwnames
[] = { "self","menu","pos", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
2098 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
2105 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_PopupMenu. Expected _wxPoint_p.");
2112 wxPy_BEGIN_ALLOW_THREADS
;
2113 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
2115 wxPy_END_ALLOW_THREADS
;
2116 } _resultobj
= Py_BuildValue("i",_result
);
2120 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
2121 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2124 PyObject
* _argo0
= 0;
2125 char *_kwnames
[] = { "self", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 wxWindow_Raise(_arg0
);
2141 wxPy_END_ALLOW_THREADS
;
2142 } Py_INCREF(Py_None
);
2143 _resultobj
= Py_None
;
2147 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
2148 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2151 bool _arg1
= (bool ) TRUE
;
2152 wxRect
* _arg2
= (wxRect
*) NULL
;
2153 PyObject
* _argo0
= 0;
2154 int tempbool1
= (int) TRUE
;
2155 PyObject
* _argo2
= 0;
2156 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
2168 _arg1
= (bool ) tempbool1
;
2170 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxRect_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxWindow_Refresh. Expected _wxRect_p.");
2177 wxPy_BEGIN_ALLOW_THREADS
;
2178 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
2180 wxPy_END_ALLOW_THREADS
;
2181 } Py_INCREF(Py_None
);
2182 _resultobj
= Py_None
;
2186 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
2187 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2190 PyObject
* _argo0
= 0;
2191 char *_kwnames
[] = { "self", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
2197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 wxWindow_ReleaseMouse(_arg0
);
2207 wxPy_END_ALLOW_THREADS
;
2208 } Py_INCREF(Py_None
);
2209 _resultobj
= Py_None
;
2213 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
2214 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2219 PyObject
* _argo0
= 0;
2220 PyObject
* _argo1
= 0;
2221 char *_kwnames
[] = { "self","newParent", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
2234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } _resultobj
= Py_BuildValue("i",_result
);
2249 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
2250 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2255 PyObject
* _argo0
= 0;
2257 PyObject
* _obj1
= 0;
2259 PyObject
* _obj2
= 0;
2260 char *_kwnames
[] = { "self","x","y", NULL
};
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
2273 temp
= (int) PyInt_AsLong(_obj1
);
2277 temp0
= (int) PyInt_AsLong(_obj2
);
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
2284 wxPy_END_ALLOW_THREADS
;
2285 } Py_INCREF(Py_None
);
2286 _resultobj
= Py_None
;
2289 o
= PyInt_FromLong((long) (*_arg1
));
2290 _resultobj
= t_output_helper(_resultobj
, o
);
2294 o
= PyInt_FromLong((long) (*_arg2
));
2295 _resultobj
= t_output_helper(_resultobj
, o
);
2300 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
2301 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2306 PyObject
* _argo0
= 0;
2307 PyObject
* _argo1
= 0;
2308 char *_kwnames
[] = { "self","pt", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_argo1
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
2322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ScreenToClient. Expected _wxPoint_p.");
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
2332 wxPy_END_ALLOW_THREADS
;
2333 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2334 _resultobj
= Py_BuildValue("s",_ptemp
);
2338 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
2339 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2344 wxRect
* _arg3
= (wxRect
*) NULL
;
2345 PyObject
* _argo0
= 0;
2346 PyObject
* _argo3
= 0;
2347 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
2360 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxRect_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_ScrollWindow. Expected _wxRect_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } Py_INCREF(Py_None
);
2372 _resultobj
= Py_None
;
2376 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
2377 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2380 wxAcceleratorTable
* _arg1
;
2381 PyObject
* _argo0
= 0;
2382 PyObject
* _argo1
= 0;
2383 char *_kwnames
[] = { "self","accel", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
2389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
2396 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2397 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
2403 wxPy_BEGIN_ALLOW_THREADS
;
2404 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
2406 wxPy_END_ALLOW_THREADS
;
2407 } Py_INCREF(Py_None
);
2408 _resultobj
= Py_None
;
2412 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
2413 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2417 PyObject
* _argo0
= 0;
2419 char *_kwnames
[] = { "self","autoLayout", NULL
};
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
2425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
2431 _arg1
= (bool ) tempbool1
;
2433 wxPy_BEGIN_ALLOW_THREADS
;
2434 wxWindow_SetAutoLayout(_arg0
,_arg1
);
2436 wxPy_END_ALLOW_THREADS
;
2437 } Py_INCREF(Py_None
);
2438 _resultobj
= Py_None
;
2442 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2443 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2447 PyObject
* _argo0
= 0;
2448 PyObject
* _argo1
= 0;
2449 char *_kwnames
[] = { "self","colour", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
2462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetBackgroundColour. Expected _wxColour_p.");
2469 wxPy_BEGIN_ALLOW_THREADS
;
2470 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
2472 wxPy_END_ALLOW_THREADS
;
2473 } Py_INCREF(Py_None
);
2474 _resultobj
= Py_None
;
2478 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
2479 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2482 wxLayoutConstraints
* _arg1
;
2483 PyObject
* _argo0
= 0;
2484 PyObject
* _argo1
= 0;
2485 char *_kwnames
[] = { "self","constraints", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
2498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 wxWindow_SetConstraints(_arg0
,_arg1
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } Py_INCREF(Py_None
);
2510 _resultobj
= Py_None
;
2514 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
2515 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 wxWindow_SetFocus(_arg0
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2542 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2546 PyObject
* _argo0
= 0;
2547 PyObject
* _argo1
= 0;
2548 char *_kwnames
[] = { "self","font", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
2561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
2568 wxPy_BEGIN_ALLOW_THREADS
;
2569 wxWindow_SetFont(_arg0
,*_arg1
);
2571 wxPy_END_ALLOW_THREADS
;
2572 } Py_INCREF(Py_None
);
2573 _resultobj
= Py_None
;
2577 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2578 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2582 PyObject
* _argo0
= 0;
2583 PyObject
* _argo1
= 0;
2584 char *_kwnames
[] = { "self","colour", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_argo1
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
2597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetForegroundColour. Expected _wxColour_p.");
2604 wxPy_BEGIN_ALLOW_THREADS
;
2605 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
2607 wxPy_END_ALLOW_THREADS
;
2608 } Py_INCREF(Py_None
);
2609 _resultobj
= Py_None
;
2613 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2614 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self","id", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 wxWindow_SetId(_arg0
,_arg1
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
2642 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 PyObject
* _obj1
= 0;
2648 char *_kwnames
[] = { "self","name", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
2661 if (!PyString_Check(_obj1
)) {
2662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2665 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 wxWindow_SetName(_arg0
,*_arg1
);
2671 wxPy_END_ALLOW_THREADS
;
2672 } Py_INCREF(Py_None
);
2673 _resultobj
= Py_None
;
2681 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2682 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2689 bool _arg5
= (bool ) TRUE
;
2690 PyObject
* _argo0
= 0;
2691 int tempbool5
= (int) TRUE
;
2692 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
2698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
2704 _arg5
= (bool ) tempbool5
;
2706 wxPy_BEGIN_ALLOW_THREADS
;
2707 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2709 wxPy_END_ALLOW_THREADS
;
2710 } Py_INCREF(Py_None
);
2711 _resultobj
= Py_None
;
2715 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
2716 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2721 bool _arg3
= (bool ) TRUE
;
2722 PyObject
* _argo0
= 0;
2723 int tempbool3
= (int) TRUE
;
2724 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
2736 _arg3
= (bool ) tempbool3
;
2738 wxPy_BEGIN_ALLOW_THREADS
;
2739 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
2741 wxPy_END_ALLOW_THREADS
;
2742 } Py_INCREF(Py_None
);
2743 _resultobj
= Py_None
;
2747 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2748 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
* _resultobj
;
2755 int _arg5
= (int ) wxSIZE_AUTO
;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2773 wxPy_END_ALLOW_THREADS
;
2774 } Py_INCREF(Py_None
);
2775 _resultobj
= Py_None
;
2779 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
2780 self
->SetSize(size
.x
, size
.y
);
2782 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2786 PyObject
* _argo0
= 0;
2787 PyObject
* _argo1
= 0;
2788 char *_kwnames
[] = { "self","size", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_argo1
))
2794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
2801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSize. Expected _wxSize_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 wxWindow_SetSize(_arg0
,*_arg1
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } Py_INCREF(Py_None
);
2813 _resultobj
= Py_None
;
2817 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
) {
2818 self
->SetSize(pos
.x
, pos
.y
, -1, -1);
2820 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2824 PyObject
* _argo0
= 0;
2825 PyObject
* _argo1
= 0;
2826 char *_kwnames
[] = { "self","pos", NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetPosition",_kwnames
,&_argo0
,&_argo1
))
2832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
2839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetPosition. Expected _wxPoint_p.");
2846 wxPy_BEGIN_ALLOW_THREADS
;
2847 wxWindow_SetPosition(_arg0
,*_arg1
);
2849 wxPy_END_ALLOW_THREADS
;
2850 } Py_INCREF(Py_None
);
2851 _resultobj
= Py_None
;
2855 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2856 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
* _resultobj
;
2859 int _arg1
= (int ) -1;
2860 int _arg2
= (int ) -1;
2861 int _arg3
= (int ) -1;
2862 int _arg4
= (int ) -1;
2863 int _arg5
= (int ) -1;
2864 int _arg6
= (int ) -1;
2865 PyObject
* _argo0
= 0;
2866 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
2879 wxPy_BEGIN_ALLOW_THREADS
;
2880 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2882 wxPy_END_ALLOW_THREADS
;
2883 } Py_INCREF(Py_None
);
2884 _resultobj
= Py_None
;
2888 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
2889 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self","width","height", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
2908 wxPy_BEGIN_ALLOW_THREADS
;
2909 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
2911 wxPy_END_ALLOW_THREADS
;
2912 } Py_INCREF(Py_None
);
2913 _resultobj
= Py_None
;
2917 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
2918 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2922 PyObject
* _argo0
= 0;
2923 PyObject
* _argo1
= 0;
2924 char *_kwnames
[] = { "self","size", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_argo1
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
2937 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2938 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetClientSize. Expected _wxSize_p.");
2944 wxPy_BEGIN_ALLOW_THREADS
;
2945 wxWindow_SetClientSize(_arg0
,*_arg1
);
2947 wxPy_END_ALLOW_THREADS
;
2948 } Py_INCREF(Py_None
);
2949 _resultobj
= Py_None
;
2953 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
2954 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2958 PyObject
* _argo0
= 0;
2959 PyObject
* _argo1
= 0;
2960 char *_kwnames
[] = { "self","cursor", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
2973 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
2980 wxPy_BEGIN_ALLOW_THREADS
;
2981 wxWindow_SetCursor(_arg0
,*_arg1
);
2983 wxPy_END_ALLOW_THREADS
;
2984 } Py_INCREF(Py_None
);
2985 _resultobj
= Py_None
;
2989 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2990 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2994 PyObject
* _argo0
= 0;
2995 PyObject
* _obj1
= 0;
2996 char *_kwnames
[] = { "self","title", NULL
};
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
3009 if (!PyString_Check(_obj1
)) {
3010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3013 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3016 wxPy_BEGIN_ALLOW_THREADS
;
3017 wxWindow_SetTitle(_arg0
,*_arg1
);
3019 wxPy_END_ALLOW_THREADS
;
3020 } Py_INCREF(Py_None
);
3021 _resultobj
= Py_None
;
3029 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3030 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3035 PyObject
* _argo0
= 0;
3037 char *_kwnames
[] = { "self","show", NULL
};
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
3049 _arg1
= (bool ) tempbool1
;
3051 wxPy_BEGIN_ALLOW_THREADS
;
3052 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
3054 wxPy_END_ALLOW_THREADS
;
3055 } _resultobj
= Py_BuildValue("i",_result
);
3059 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
3060 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3064 PyObject
* _argo0
= 0;
3065 char *_kwnames
[] = { "self", NULL
};
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
3078 wxPy_BEGIN_ALLOW_THREADS
;
3079 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
3081 wxPy_END_ALLOW_THREADS
;
3082 } _resultobj
= Py_BuildValue("i",_result
);
3086 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
3087 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3091 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self", NULL
};
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
3105 wxPy_BEGIN_ALLOW_THREADS
;
3106 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
3108 wxPy_END_ALLOW_THREADS
;
3109 } _resultobj
= Py_BuildValue("i",_result
);
3113 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
3114 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
3132 wxPy_BEGIN_ALLOW_THREADS
;
3133 _result
= (bool )wxWindow_Validate(_arg0
);
3135 wxPy_END_ALLOW_THREADS
;
3136 } _resultobj
= Py_BuildValue("i",_result
);
3140 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
3141 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self","x","y", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } Py_INCREF(Py_None
);
3165 _resultobj
= Py_None
;
3169 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3170 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3175 PyObject
* _argo0
= 0;
3176 PyObject
* _argo1
= 0;
3177 char *_kwnames
[] = { "self","pt", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_argo1
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
3191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogPointToPixels. Expected _wxPoint_p.");
3198 wxPy_BEGIN_ALLOW_THREADS
;
3199 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
3201 wxPy_END_ALLOW_THREADS
;
3202 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3203 _resultobj
= Py_BuildValue("s",_ptemp
);
3207 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
3208 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3213 PyObject
* _argo0
= 0;
3214 PyObject
* _argo1
= 0;
3215 char *_kwnames
[] = { "self","sz", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_argo1
))
3222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
3229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertDialogSizeToPixels. Expected _wxSize_p.");
3236 wxPy_BEGIN_ALLOW_THREADS
;
3237 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
3239 wxPy_END_ALLOW_THREADS
;
3240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3241 _resultobj
= Py_BuildValue("s",_ptemp
);
3245 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3246 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3251 PyObject
* _argo0
= 0;
3252 PyObject
* _argo1
= 0;
3253 char *_kwnames
[] = { "self","pt", NULL
};
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_argo1
))
3260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
3267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelPointToDialog. Expected _wxPoint_p.");
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
3277 wxPy_END_ALLOW_THREADS
;
3278 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3279 _resultobj
= Py_BuildValue("s",_ptemp
);
3283 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
3284 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3289 PyObject
* _argo0
= 0;
3290 PyObject
* _argo1
= 0;
3291 char *_kwnames
[] = { "self","sz", NULL
};
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_argo1
))
3298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
3305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_ConvertPixelSizeToDialog. Expected _wxSize_p.");
3312 wxPy_BEGIN_ALLOW_THREADS
;
3313 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
3315 wxPy_END_ALLOW_THREADS
;
3316 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3317 _resultobj
= Py_BuildValue("s",_ptemp
);
3321 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3322 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
* _resultobj
;
3326 PyObject
* _argo0
= 0;
3327 PyObject
* _obj1
= 0;
3328 char *_kwnames
[] = { "self","tip", NULL
};
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
3334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
3341 if (!PyString_Check(_obj1
)) {
3342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3345 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3348 wxPy_BEGIN_ALLOW_THREADS
;
3349 wxWindow_SetToolTipString(_arg0
,*_arg1
);
3351 wxPy_END_ALLOW_THREADS
;
3352 } Py_INCREF(Py_None
);
3353 _resultobj
= Py_None
;
3361 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
3362 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3366 PyObject
* _argo0
= 0;
3367 PyObject
* _argo1
= 0;
3368 char *_kwnames
[] = { "self","tooltip", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
3381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
3388 wxPy_BEGIN_ALLOW_THREADS
;
3389 wxWindow_SetToolTip(_arg0
,_arg1
);
3391 wxPy_END_ALLOW_THREADS
;
3392 } Py_INCREF(Py_None
);
3393 _resultobj
= Py_None
;
3397 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
3398 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3400 wxToolTip
* _result
;
3402 PyObject
* _argo0
= 0;
3403 char *_kwnames
[] = { "self", NULL
};
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
3410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
3417 wxPy_BEGIN_ALLOW_THREADS
;
3418 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
3420 wxPy_END_ALLOW_THREADS
;
3422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3423 _resultobj
= Py_BuildValue("s",_ptemp
);
3426 _resultobj
= Py_None
;
3431 static void *SwigwxPanelTowxWindow(void *ptr
) {
3434 src
= (wxPanel
*) ptr
;
3435 dest
= (wxWindow
*) src
;
3436 return (void *) dest
;
3439 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
3442 src
= (wxPanel
*) ptr
;
3443 dest
= (wxEvtHandler
*) src
;
3444 return (void *) dest
;
3447 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3448 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3453 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3454 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3455 long _arg4
= (long ) wxTAB_TRAVERSAL
;
3456 char * _arg5
= (char *) "panel";
3457 PyObject
* _argo0
= 0;
3458 PyObject
* _argo2
= 0;
3459 PyObject
* _argo3
= 0;
3460 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
3474 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPanel. Expected _wxPoint_p.");
3481 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPanel. Expected _wxSize_p.");
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3491 wxPy_END_ALLOW_THREADS
;
3493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
3494 _resultobj
= Py_BuildValue("s",_ptemp
);
3497 _resultobj
= Py_None
;
3502 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
3503 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3506 PyObject
* _argo0
= 0;
3507 char *_kwnames
[] = { "self", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
3520 wxPy_BEGIN_ALLOW_THREADS
;
3521 wxPanel_InitDialog(_arg0
);
3523 wxPy_END_ALLOW_THREADS
;
3524 } Py_INCREF(Py_None
);
3525 _resultobj
= Py_None
;
3529 #define wxPanel_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
3530 static PyObject
*_wrap_wxPanel_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
* _resultobj
;
3534 PyObject
* _argo0
= 0;
3535 char *_kwnames
[] = { "self", NULL
};
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_GetDefaultItem",_kwnames
,&_argo0
))
3542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_GetDefaultItem. Expected _wxPanel_p.");
3549 wxPy_BEGIN_ALLOW_THREADS
;
3550 _result
= (wxButton
*)wxPanel_GetDefaultItem(_arg0
);
3552 wxPy_END_ALLOW_THREADS
;
3554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
3555 _resultobj
= Py_BuildValue("s",_ptemp
);
3558 _resultobj
= Py_None
;
3563 #define wxPanel_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
3564 static PyObject
*_wrap_wxPanel_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3568 PyObject
* _argo0
= 0;
3569 PyObject
* _argo1
= 0;
3570 char *_kwnames
[] = { "self","btn", NULL
};
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPanel_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
3576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_SetDefaultItem. Expected _wxPanel_p.");
3583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxButton_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_SetDefaultItem. Expected _wxButton_p.");
3590 wxPy_BEGIN_ALLOW_THREADS
;
3591 wxPanel_SetDefaultItem(_arg0
,_arg1
);
3593 wxPy_END_ALLOW_THREADS
;
3594 } Py_INCREF(Py_None
);
3595 _resultobj
= Py_None
;
3599 static void *SwigwxDialogTowxPanel(void *ptr
) {
3602 src
= (wxDialog
*) ptr
;
3603 dest
= (wxPanel
*) src
;
3604 return (void *) dest
;
3607 static void *SwigwxDialogTowxWindow(void *ptr
) {
3610 src
= (wxDialog
*) ptr
;
3611 dest
= (wxWindow
*) src
;
3612 return (void *) dest
;
3615 static void *SwigwxDialogTowxEvtHandler(void *ptr
) {
3618 src
= (wxDialog
*) ptr
;
3619 dest
= (wxEvtHandler
*) src
;
3620 return (void *) dest
;
3623 #define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3624 static PyObject
*_wrap_new_wxDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
* _resultobj
;
3630 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
3631 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
3632 long _arg5
= (long ) wxDEFAULT_DIALOG_STYLE
;
3633 char * _arg6
= (char *) "dialogBox";
3634 PyObject
* _argo0
= 0;
3635 PyObject
* _obj2
= 0;
3636 PyObject
* _argo3
= 0;
3637 PyObject
* _argo4
= 0;
3638 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxDialog",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
3645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDialog. Expected _wxWindow_p.");
3652 if (!PyString_Check(_obj2
)) {
3653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3656 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3659 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3660 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxDialog. Expected _wxPoint_p.");
3666 if (_argo4
== Py_None
) { _arg4
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxDialog. Expected _wxSize_p.");
3673 wxPy_BEGIN_ALLOW_THREADS
;
3674 _result
= (wxDialog
*)new_wxDialog(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3676 wxPy_END_ALLOW_THREADS
;
3678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
3679 _resultobj
= Py_BuildValue("s",_ptemp
);
3682 _resultobj
= Py_None
;
3691 #define wxDialog_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
3692 static PyObject
*_wrap_wxDialog_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
* _resultobj
;
3695 int _arg1
= (int ) wxBOTH
;
3696 PyObject
* _argo0
= 0;
3697 char *_kwnames
[] = { "self","direction", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxDialog_Centre",_kwnames
,&_argo0
,&_arg1
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Centre. Expected _wxDialog_p.");
3710 wxPy_BEGIN_ALLOW_THREADS
;
3711 wxDialog_Centre(_arg0
,_arg1
);
3713 wxPy_END_ALLOW_THREADS
;
3714 } Py_INCREF(Py_None
);
3715 _resultobj
= Py_None
;
3719 #define wxDialog_EndModal(_swigobj,_swigarg0) (_swigobj->EndModal(_swigarg0))
3720 static PyObject
*_wrap_wxDialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self","retCode", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_EndModal",_kwnames
,&_argo0
,&_arg1
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_EndModal. Expected _wxDialog_p.");
3738 wxPy_BEGIN_ALLOW_THREADS
;
3739 wxDialog_EndModal(_arg0
,_arg1
);
3741 wxPy_END_ALLOW_THREADS
;
3742 } Py_INCREF(Py_None
);
3743 _resultobj
= Py_None
;
3747 #define wxDialog_GetTitle(_swigobj) (_swigobj->GetTitle())
3748 static PyObject
*_wrap_wxDialog_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
* _resultobj
;
3752 PyObject
* _argo0
= 0;
3753 char *_kwnames
[] = { "self", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetTitle",_kwnames
,&_argo0
))
3759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetTitle. Expected _wxDialog_p.");
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 _result
= new wxString (wxDialog_GetTitle(_arg0
));
3769 wxPy_END_ALLOW_THREADS
;
3771 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3779 #define wxDialog_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
3780 static PyObject
*_wrap_wxDialog_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3784 PyObject
* _argo0
= 0;
3786 char *_kwnames
[] = { "self","iconize", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Iconize",_kwnames
,&_argo0
,&tempbool1
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Iconize. Expected _wxDialog_p.");
3798 _arg1
= (bool ) tempbool1
;
3800 wxPy_BEGIN_ALLOW_THREADS
;
3801 wxDialog_Iconize(_arg0
,_arg1
);
3803 wxPy_END_ALLOW_THREADS
;
3804 } Py_INCREF(Py_None
);
3805 _resultobj
= Py_None
;
3809 #define wxDialog_IsIconized(_swigobj) (_swigobj->IsIconized())
3810 static PyObject
*_wrap_wxDialog_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsIconized",_kwnames
,&_argo0
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsIconized. Expected _wxDialog_p.");
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 _result
= (bool )wxDialog_IsIconized(_arg0
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3836 #define wxDialog_SetModal(_swigobj,_swigarg0) (_swigobj->SetModal(_swigarg0))
3837 static PyObject
*_wrap_wxDialog_SetModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3841 PyObject
* _argo0
= 0;
3843 char *_kwnames
[] = { "self","flag", NULL
};
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetModal",_kwnames
,&_argo0
,&tempbool1
))
3849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetModal. Expected _wxDialog_p.");
3855 _arg1
= (bool ) tempbool1
;
3857 wxPy_BEGIN_ALLOW_THREADS
;
3858 wxDialog_SetModal(_arg0
,_arg1
);
3860 wxPy_END_ALLOW_THREADS
;
3861 } Py_INCREF(Py_None
);
3862 _resultobj
= Py_None
;
3866 #define wxDialog_IsModal(_swigobj) (_swigobj->IsModal())
3867 static PyObject
*_wrap_wxDialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3871 PyObject
* _argo0
= 0;
3872 char *_kwnames
[] = { "self", NULL
};
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_IsModal",_kwnames
,&_argo0
))
3878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_IsModal. Expected _wxDialog_p.");
3885 wxPy_BEGIN_ALLOW_THREADS
;
3886 _result
= (bool )wxDialog_IsModal(_arg0
);
3888 wxPy_END_ALLOW_THREADS
;
3889 } _resultobj
= Py_BuildValue("i",_result
);
3893 #define wxDialog_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3894 static PyObject
*_wrap_wxDialog_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3898 PyObject
* _argo0
= 0;
3899 PyObject
* _obj1
= 0;
3900 char *_kwnames
[] = { "self","title", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDialog_SetTitle",_kwnames
,&_argo0
,&_obj1
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetTitle. Expected _wxDialog_p.");
3913 if (!PyString_Check(_obj1
)) {
3914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3917 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3920 wxPy_BEGIN_ALLOW_THREADS
;
3921 wxDialog_SetTitle(_arg0
,*_arg1
);
3923 wxPy_END_ALLOW_THREADS
;
3924 } Py_INCREF(Py_None
);
3925 _resultobj
= Py_None
;
3933 #define wxDialog_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3934 static PyObject
*_wrap_wxDialog_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3939 PyObject
* _argo0
= 0;
3941 char *_kwnames
[] = { "self","show", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_Show",_kwnames
,&_argo0
,&tempbool1
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_Show. Expected _wxDialog_p.");
3953 _arg1
= (bool ) tempbool1
;
3955 wxPy_BEGIN_ALLOW_THREADS
;
3956 _result
= (bool )wxDialog_Show(_arg0
,_arg1
);
3958 wxPy_END_ALLOW_THREADS
;
3959 } _resultobj
= Py_BuildValue("i",_result
);
3963 #define wxDialog_ShowModal(_swigobj) (_swigobj->ShowModal())
3964 static PyObject
*_wrap_wxDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3968 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_ShowModal",_kwnames
,&_argo0
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_ShowModal. Expected _wxDialog_p.");
3982 wxPy_BEGIN_ALLOW_THREADS
;
3983 _result
= (int )wxDialog_ShowModal(_arg0
);
3985 wxPy_END_ALLOW_THREADS
;
3986 } _resultobj
= Py_BuildValue("i",_result
);
3990 #define wxDialog_GetReturnCode(_swigobj) (_swigobj->GetReturnCode())
3991 static PyObject
*_wrap_wxDialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3995 PyObject
* _argo0
= 0;
3996 char *_kwnames
[] = { "self", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDialog_GetReturnCode",_kwnames
,&_argo0
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_GetReturnCode. Expected _wxDialog_p.");
4009 wxPy_BEGIN_ALLOW_THREADS
;
4010 _result
= (int )wxDialog_GetReturnCode(_arg0
);
4012 wxPy_END_ALLOW_THREADS
;
4013 } _resultobj
= Py_BuildValue("i",_result
);
4017 #define wxDialog_SetReturnCode(_swigobj,_swigarg0) (_swigobj->SetReturnCode(_swigarg0))
4018 static PyObject
*_wrap_wxDialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4022 PyObject
* _argo0
= 0;
4023 char *_kwnames
[] = { "self","retCode", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDialog_SetReturnCode",_kwnames
,&_argo0
,&_arg1
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDialog_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDialog_SetReturnCode. Expected _wxDialog_p.");
4036 wxPy_BEGIN_ALLOW_THREADS
;
4037 wxDialog_SetReturnCode(_arg0
,_arg1
);
4039 wxPy_END_ALLOW_THREADS
;
4040 } Py_INCREF(Py_None
);
4041 _resultobj
= Py_None
;
4045 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
4046 wxScrolledWindow
*src
;
4048 src
= (wxScrolledWindow
*) ptr
;
4049 dest
= (wxPanel
*) src
;
4050 return (void *) dest
;
4053 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
4054 wxScrolledWindow
*src
;
4056 src
= (wxScrolledWindow
*) ptr
;
4057 dest
= (wxWindow
*) src
;
4058 return (void *) dest
;
4061 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
4062 wxScrolledWindow
*src
;
4064 src
= (wxScrolledWindow
*) ptr
;
4065 dest
= (wxEvtHandler
*) src
;
4066 return (void *) dest
;
4069 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4070 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4072 wxScrolledWindow
* _result
;
4074 wxWindowID _arg1
= (wxWindowID
) -1;
4075 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4076 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4077 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
4078 char * _arg5
= (char *) "scrolledWindow";
4079 PyObject
* _argo0
= 0;
4080 PyObject
* _argo2
= 0;
4081 PyObject
* _argo3
= 0;
4082 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
4096 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrolledWindow. Expected _wxPoint_p.");
4103 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrolledWindow. Expected _wxSize_p.");
4110 wxPy_BEGIN_ALLOW_THREADS
;
4111 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4113 wxPy_END_ALLOW_THREADS
;
4115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
4116 _resultobj
= Py_BuildValue("s",_ptemp
);
4119 _resultobj
= Py_None
;
4124 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
4125 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4127 wxScrolledWindow
* _arg0
;
4130 PyObject
* _argo0
= 0;
4133 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
4139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
4145 _arg1
= (bool ) tempbool1
;
4146 _arg2
= (bool ) tempbool2
;
4148 wxPy_BEGIN_ALLOW_THREADS
;
4149 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
4151 wxPy_END_ALLOW_THREADS
;
4152 } Py_INCREF(Py_None
);
4153 _resultobj
= Py_None
;
4157 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
4158 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4160 wxScrolledWindow
* _arg0
;
4165 PyObject
* _argo0
= 0;
4166 char *_kwnames
[] = { "self", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
4188 wxPy_END_ALLOW_THREADS
;
4189 } Py_INCREF(Py_None
);
4190 _resultobj
= Py_None
;
4193 o
= PyInt_FromLong((long) (*_arg1
));
4194 _resultobj
= t_output_helper(_resultobj
, o
);
4198 o
= PyInt_FromLong((long) (*_arg2
));
4199 _resultobj
= t_output_helper(_resultobj
, o
);
4204 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4205 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4207 wxScrolledWindow
* _arg0
;
4212 PyObject
* _argo0
= 0;
4213 char *_kwnames
[] = { "self", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
4232 wxPy_BEGIN_ALLOW_THREADS
;
4233 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
4235 wxPy_END_ALLOW_THREADS
;
4236 } Py_INCREF(Py_None
);
4237 _resultobj
= Py_None
;
4240 o
= PyInt_FromLong((long) (*_arg1
));
4241 _resultobj
= t_output_helper(_resultobj
, o
);
4245 o
= PyInt_FromLong((long) (*_arg2
));
4246 _resultobj
= t_output_helper(_resultobj
, o
);
4251 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
4252 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4255 wxScrolledWindow
* _arg0
;
4256 PyObject
* _argo0
= 0;
4257 char *_kwnames
[] = { "self", NULL
};
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
4263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
4270 wxPy_BEGIN_ALLOW_THREADS
;
4271 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
4273 wxPy_END_ALLOW_THREADS
;
4274 } _resultobj
= Py_BuildValue("i",_result
);
4278 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
4279 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4281 wxScrolledWindow
* _arg0
;
4283 PyObject
* _argo0
= 0;
4284 PyObject
* _argo1
= 0;
4285 char *_kwnames
[] = { "self","dc", NULL
};
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
4291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
4298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
4305 wxPy_BEGIN_ALLOW_THREADS
;
4306 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
4308 wxPy_END_ALLOW_THREADS
;
4309 } Py_INCREF(Py_None
);
4310 _resultobj
= Py_None
;
4314 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
4315 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
* _resultobj
;
4317 wxScrolledWindow
* _arg0
;
4320 PyObject
* _argo0
= 0;
4321 char *_kwnames
[] = { "self","x","y", NULL
};
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
4334 wxPy_BEGIN_ALLOW_THREADS
;
4335 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
4337 wxPy_END_ALLOW_THREADS
;
4338 } Py_INCREF(Py_None
);
4339 _resultobj
= Py_None
;
4343 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4344 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4346 wxScrolledWindow
* _arg0
;
4351 int _arg5
= (int ) 0;
4352 int _arg6
= (int ) 0;
4353 PyObject
* _argo0
= 0;
4354 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|ii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
4367 wxPy_BEGIN_ALLOW_THREADS
;
4368 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4370 wxPy_END_ALLOW_THREADS
;
4371 } Py_INCREF(Py_None
);
4372 _resultobj
= Py_None
;
4376 #define wxScrolledWindow_ViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->ViewStart(_swigarg0,_swigarg1))
4377 static PyObject
*_wrap_wxScrolledWindow_ViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
* _resultobj
;
4379 wxScrolledWindow
* _arg0
;
4384 PyObject
* _argo0
= 0;
4385 char *_kwnames
[] = { "self", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_ViewStart",_kwnames
,&_argo0
))
4397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_ViewStart. Expected _wxScrolledWindow_p.");
4404 wxPy_BEGIN_ALLOW_THREADS
;
4405 wxScrolledWindow_ViewStart(_arg0
,_arg1
,_arg2
);
4407 wxPy_END_ALLOW_THREADS
;
4408 } Py_INCREF(Py_None
);
4409 _resultobj
= Py_None
;
4412 o
= PyInt_FromLong((long) (*_arg1
));
4413 _resultobj
= t_output_helper(_resultobj
, o
);
4417 o
= PyInt_FromLong((long) (*_arg2
));
4418 _resultobj
= t_output_helper(_resultobj
, o
);
4423 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
4426 src
= (wxMenu
*) ptr
;
4427 dest
= (wxEvtHandler
*) src
;
4428 return (void *) dest
;
4431 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
4432 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4435 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
4436 long _arg1
= (long ) 0;
4437 PyObject
* _obj0
= 0;
4438 char *_kwnames
[] = { "title","style", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
4446 if (!PyString_Check(_obj0
)) {
4447 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4450 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4453 wxPy_BEGIN_ALLOW_THREADS
;
4454 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
4456 wxPy_END_ALLOW_THREADS
;
4458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
4459 _resultobj
= Py_BuildValue("s",_ptemp
);
4462 _resultobj
= Py_None
;
4471 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4472 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4477 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
4478 int _arg4
= (int ) FALSE
;
4479 PyObject
* _argo0
= 0;
4480 PyObject
* _obj2
= 0;
4481 PyObject
* _obj3
= 0;
4482 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
4488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
4495 if (!PyString_Check(_obj2
)) {
4496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4499 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4503 if (!PyString_Check(_obj3
)) {
4504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4507 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4510 wxPy_BEGIN_ALLOW_THREADS
;
4511 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
4513 wxPy_END_ALLOW_THREADS
;
4514 } Py_INCREF(Py_None
);
4515 _resultobj
= Py_None
;
4527 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4528 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
* _resultobj
;
4534 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
4535 PyObject
* _argo0
= 0;
4536 PyObject
* _obj2
= 0;
4537 PyObject
* _argo3
= 0;
4538 PyObject
* _obj4
= 0;
4539 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
4545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4552 if (!PyString_Check(_obj2
)) {
4553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4556 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4559 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4560 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
4567 if (!PyString_Check(_obj4
)) {
4568 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4571 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
4574 wxPy_BEGIN_ALLOW_THREADS
;
4575 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
4577 wxPy_END_ALLOW_THREADS
;
4578 } Py_INCREF(Py_None
);
4579 _resultobj
= Py_None
;
4591 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
4592 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4595 PyObject
* _argo0
= 0;
4596 char *_kwnames
[] = { "self", NULL
};
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
4602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
4609 wxPy_BEGIN_ALLOW_THREADS
;
4610 wxMenu_AppendSeparator(_arg0
);
4612 wxPy_END_ALLOW_THREADS
;
4613 } Py_INCREF(Py_None
);
4614 _resultobj
= Py_None
;
4618 #define wxMenu_Break(_swigobj) (_swigobj->Break())
4619 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
* _resultobj
;
4622 PyObject
* _argo0
= 0;
4623 char *_kwnames
[] = { "self", NULL
};
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
4629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
4636 wxPy_BEGIN_ALLOW_THREADS
;
4637 wxMenu_Break(_arg0
);
4639 wxPy_END_ALLOW_THREADS
;
4640 } Py_INCREF(Py_None
);
4641 _resultobj
= Py_None
;
4645 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4646 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
* _resultobj
;
4651 PyObject
* _argo0
= 0;
4653 char *_kwnames
[] = { "self","id","flag", NULL
};
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
4665 _arg2
= (bool ) tempbool2
;
4667 wxPy_BEGIN_ALLOW_THREADS
;
4668 wxMenu_Check(_arg0
,_arg1
,_arg2
);
4670 wxPy_END_ALLOW_THREADS
;
4671 } Py_INCREF(Py_None
);
4672 _resultobj
= Py_None
;
4676 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
4677 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4682 PyObject
* _argo0
= 0;
4684 char *_kwnames
[] = { "self","id","enable", NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
4696 _arg2
= (bool ) tempbool2
;
4698 wxPy_BEGIN_ALLOW_THREADS
;
4699 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
4701 wxPy_END_ALLOW_THREADS
;
4702 } Py_INCREF(Py_None
);
4703 _resultobj
= Py_None
;
4707 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
4708 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
* _resultobj
;
4713 PyObject
* _argo0
= 0;
4714 PyObject
* _obj1
= 0;
4715 char *_kwnames
[] = { "self","itemString", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
4728 if (!PyString_Check(_obj1
)) {
4729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4732 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4735 wxPy_BEGIN_ALLOW_THREADS
;
4736 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
4738 wxPy_END_ALLOW_THREADS
;
4739 } _resultobj
= Py_BuildValue("i",_result
);
4747 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
4748 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4752 PyObject
* _argo0
= 0;
4753 char *_kwnames
[] = { "self", NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
4759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
4766 wxPy_BEGIN_ALLOW_THREADS
;
4767 _result
= new wxString (wxMenu_GetTitle(_arg0
));
4769 wxPy_END_ALLOW_THREADS
;
4771 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4779 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4780 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4784 PyObject
* _argo0
= 0;
4785 PyObject
* _obj1
= 0;
4786 char *_kwnames
[] = { "self","title", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
4799 if (!PyString_Check(_obj1
)) {
4800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4803 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4806 wxPy_BEGIN_ALLOW_THREADS
;
4807 wxMenu_SetTitle(_arg0
,*_arg1
);
4809 wxPy_END_ALLOW_THREADS
;
4810 } Py_INCREF(Py_None
);
4811 _resultobj
= Py_None
;
4819 #define wxMenu_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
4820 static PyObject
*_wrap_wxMenu_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
* _resultobj
;
4822 wxMenuItem
* _result
;
4825 PyObject
* _argo0
= 0;
4826 char *_kwnames
[] = { "self","id", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemForId. Expected _wxMenu_p.");
4840 wxPy_BEGIN_ALLOW_THREADS
;
4841 _result
= (wxMenuItem
*)wxMenu_FindItemForId(_arg0
,_arg1
);
4843 wxPy_END_ALLOW_THREADS
;
4845 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
4846 _resultobj
= Py_BuildValue("s",_ptemp
);
4849 _resultobj
= Py_None
;
4854 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
4855 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
* _resultobj
;
4860 PyObject
* _argo0
= 0;
4861 char *_kwnames
[] = { "self","id", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
4877 wxPy_END_ALLOW_THREADS
;
4879 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4887 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
4888 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
* _resultobj
;
4893 PyObject
* _argo0
= 0;
4894 char *_kwnames
[] = { "self","id", NULL
};
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
4900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
4910 wxPy_END_ALLOW_THREADS
;
4912 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4920 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
4921 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4927 PyObject
* _obj2
= 0;
4928 char *_kwnames
[] = { "self","id","helpString", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
4941 if (!PyString_Check(_obj2
)) {
4942 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4945 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4948 wxPy_BEGIN_ALLOW_THREADS
;
4949 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
4951 wxPy_END_ALLOW_THREADS
;
4952 } Py_INCREF(Py_None
);
4953 _resultobj
= Py_None
;
4961 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4962 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
* _resultobj
;
4967 PyObject
* _argo0
= 0;
4968 char *_kwnames
[] = { "self","id", NULL
};
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
4974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
4976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
4981 wxPy_BEGIN_ALLOW_THREADS
;
4982 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
4984 wxPy_END_ALLOW_THREADS
;
4985 } _resultobj
= Py_BuildValue("i",_result
);
4989 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
4990 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
* _resultobj
;
4995 PyObject
* _argo0
= 0;
4996 char *_kwnames
[] = { "self","id", NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
5002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
5012 wxPy_END_ALLOW_THREADS
;
5013 } _resultobj
= Py_BuildValue("i",_result
);
5017 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5018 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
* _resultobj
;
5023 PyObject
* _argo0
= 0;
5024 PyObject
* _obj2
= 0;
5025 char *_kwnames
[] = { "self","id","label", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
5038 if (!PyString_Check(_obj2
)) {
5039 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5042 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5045 wxPy_BEGIN_ALLOW_THREADS
;
5046 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
5048 wxPy_END_ALLOW_THREADS
;
5049 } Py_INCREF(Py_None
);
5050 _resultobj
= Py_None
;
5058 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
5059 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5062 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
5063 PyObject
* _argo0
= 0;
5064 PyObject
* _argo1
= 0;
5065 char *_kwnames
[] = { "self","source", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
5078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 wxMenu_UpdateUI(_arg0
,_arg1
);
5088 wxPy_END_ALLOW_THREADS
;
5089 } Py_INCREF(Py_None
);
5090 _resultobj
= Py_None
;
5094 static void wxMenu_Destroy(wxMenu
*self
) {
5097 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
* _resultobj
;
5100 PyObject
* _argo0
= 0;
5101 char *_kwnames
[] = { "self", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
5114 wxPy_BEGIN_ALLOW_THREADS
;
5115 wxMenu_Destroy(_arg0
);
5117 wxPy_END_ALLOW_THREADS
;
5118 } Py_INCREF(Py_None
);
5119 _resultobj
= Py_None
;
5123 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
5126 src
= (wxMenuBar
*) ptr
;
5127 dest
= (wxEvtHandler
*) src
;
5128 return (void *) dest
;
5131 #define new_wxMenuBar() (new wxMenuBar())
5132 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5134 wxMenuBar
* _result
;
5135 char *_kwnames
[] = { NULL
};
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuBar",_kwnames
))
5142 wxPy_BEGIN_ALLOW_THREADS
;
5143 _result
= (wxMenuBar
*)new_wxMenuBar();
5145 wxPy_END_ALLOW_THREADS
;
5147 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
5148 _resultobj
= Py_BuildValue("s",_ptemp
);
5151 _resultobj
= Py_None
;
5156 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
5157 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5162 PyObject
* _argo0
= 0;
5163 PyObject
* _argo1
= 0;
5164 PyObject
* _obj2
= 0;
5165 char *_kwnames
[] = { "self","menu","title", NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
5178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
5185 if (!PyString_Check(_obj2
)) {
5186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5189 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5192 wxPy_BEGIN_ALLOW_THREADS
;
5193 wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
5195 wxPy_END_ALLOW_THREADS
;
5196 } Py_INCREF(Py_None
);
5197 _resultobj
= Py_None
;
5205 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5206 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
* _resultobj
;
5211 PyObject
* _argo0
= 0;
5213 char *_kwnames
[] = { "self","id","flag", NULL
};
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
5225 _arg2
= (bool ) tempbool2
;
5227 wxPy_BEGIN_ALLOW_THREADS
;
5228 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
5230 wxPy_END_ALLOW_THREADS
;
5231 } Py_INCREF(Py_None
);
5232 _resultobj
= Py_None
;
5236 #define wxMenuBar_Checked(_swigobj,_swigarg0) (_swigobj->Checked(_swigarg0))
5237 static PyObject
*_wrap_wxMenuBar_Checked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
* _resultobj
;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "self","id", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Checked",_kwnames
,&_argo0
,&_arg1
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Checked. Expected _wxMenuBar_p.");
5256 wxPy_BEGIN_ALLOW_THREADS
;
5257 _result
= (bool )wxMenuBar_Checked(_arg0
,_arg1
);
5259 wxPy_END_ALLOW_THREADS
;
5260 } _resultobj
= Py_BuildValue("i",_result
);
5264 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5265 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5270 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "self","id","enable", NULL
};
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
5284 _arg2
= (bool ) tempbool2
;
5286 wxPy_BEGIN_ALLOW_THREADS
;
5287 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
5289 wxPy_END_ALLOW_THREADS
;
5290 } Py_INCREF(Py_None
);
5291 _resultobj
= Py_None
;
5295 #define wxMenuBar_Enabled(_swigobj,_swigarg0) (_swigobj->Enabled(_swigarg0))
5296 static PyObject
*_wrap_wxMenuBar_Enabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
* _resultobj
;
5301 PyObject
* _argo0
= 0;
5302 char *_kwnames
[] = { "self","id", NULL
};
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Enabled",_kwnames
,&_argo0
,&_arg1
))
5308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enabled. Expected _wxMenuBar_p.");
5315 wxPy_BEGIN_ALLOW_THREADS
;
5316 _result
= (bool )wxMenuBar_Enabled(_arg0
,_arg1
);
5318 wxPy_END_ALLOW_THREADS
;
5319 } _resultobj
= Py_BuildValue("i",_result
);
5323 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
5324 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
* _resultobj
;
5330 PyObject
* _argo0
= 0;
5331 PyObject
* _obj1
= 0;
5332 PyObject
* _obj2
= 0;
5333 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
5346 if (!PyString_Check(_obj1
)) {
5347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5350 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5353 if (!PyString_Check(_obj2
)) {
5354 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5357 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5360 wxPy_BEGIN_ALLOW_THREADS
;
5361 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
5363 wxPy_END_ALLOW_THREADS
;
5364 } _resultobj
= Py_BuildValue("i",_result
);
5376 #define wxMenuBar_FindItemForId(_swigobj,_swigarg0) (_swigobj->FindItemForId(_swigarg0))
5377 static PyObject
*_wrap_wxMenuBar_FindItemForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
* _resultobj
;
5379 wxMenuItem
* _result
;
5382 PyObject
* _argo0
= 0;
5383 char *_kwnames
[] = { "self","id", NULL
};
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemForId",_kwnames
,&_argo0
,&_arg1
))
5390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemForId. Expected _wxMenuBar_p.");
5397 wxPy_BEGIN_ALLOW_THREADS
;
5398 _result
= (wxMenuItem
*)wxMenuBar_FindItemForId(_arg0
,_arg1
);
5400 wxPy_END_ALLOW_THREADS
;
5402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5403 _resultobj
= Py_BuildValue("s",_ptemp
);
5406 _resultobj
= Py_None
;
5411 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
5412 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5416 PyObject
* _argo0
= 0;
5417 char *_kwnames
[] = { "self", NULL
};
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
5423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
5430 wxPy_BEGIN_ALLOW_THREADS
;
5431 _result
= (int )wxMenuBar_GetMenuCount(_arg0
);
5433 wxPy_END_ALLOW_THREADS
;
5434 } _resultobj
= Py_BuildValue("i",_result
);
5438 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
5439 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5444 PyObject
* _argo0
= 0;
5445 char *_kwnames
[] = { "self","i", NULL
};
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
5452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
5454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
5459 wxPy_BEGIN_ALLOW_THREADS
;
5460 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
5462 wxPy_END_ALLOW_THREADS
;
5464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5465 _resultobj
= Py_BuildValue("s",_ptemp
);
5468 _resultobj
= Py_None
;
5473 #define new_wxMenuItem() (new wxMenuItem())
5474 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
* _resultobj
;
5476 wxMenuItem
* _result
;
5477 char *_kwnames
[] = { NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMenuItem",_kwnames
))
5484 wxPy_BEGIN_ALLOW_THREADS
;
5485 _result
= (wxMenuItem
*)new_wxMenuItem();
5487 wxPy_END_ALLOW_THREADS
;
5489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
5490 _resultobj
= Py_BuildValue("s",_ptemp
);
5493 _resultobj
= Py_None
;
5498 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
5499 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
* _resultobj
;
5503 PyObject
* _argo0
= 0;
5504 char *_kwnames
[] = { "self", NULL
};
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
5510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
5517 wxPy_BEGIN_ALLOW_THREADS
;
5518 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
5520 wxPy_END_ALLOW_THREADS
;
5521 } _resultobj
= Py_BuildValue("i",_result
);
5525 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
5526 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5530 PyObject
* _argo0
= 0;
5531 char *_kwnames
[] = { "self", NULL
};
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
5537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
5544 wxPy_BEGIN_ALLOW_THREADS
;
5545 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
5547 wxPy_END_ALLOW_THREADS
;
5548 } _resultobj
= Py_BuildValue("i",_result
);
5552 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
5553 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5557 PyObject
* _argo0
= 0;
5558 char *_kwnames
[] = { "self", NULL
};
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
5564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
5571 wxPy_BEGIN_ALLOW_THREADS
;
5572 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
5574 wxPy_END_ALLOW_THREADS
;
5575 } _resultobj
= Py_BuildValue("i",_result
);
5579 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
5580 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
* _resultobj
;
5584 PyObject
* _argo0
= 0;
5585 char *_kwnames
[] = { "self", NULL
};
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
5591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
5598 wxPy_BEGIN_ALLOW_THREADS
;
5599 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
5601 wxPy_END_ALLOW_THREADS
;
5602 } _resultobj
= Py_BuildValue("i",_result
);
5606 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
5607 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5611 PyObject
* _argo0
= 0;
5612 char *_kwnames
[] = { "self", NULL
};
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
5618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
5625 wxPy_BEGIN_ALLOW_THREADS
;
5626 _result
= (int )wxMenuItem_GetId(_arg0
);
5628 wxPy_END_ALLOW_THREADS
;
5629 } _resultobj
= Py_BuildValue("i",_result
);
5633 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
5634 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
* _resultobj
;
5638 PyObject
* _argo0
= 0;
5639 char *_kwnames
[] = { "self", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
5646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
5653 wxPy_BEGIN_ALLOW_THREADS
;
5654 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
5656 wxPy_END_ALLOW_THREADS
;
5658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
5659 _resultobj
= Py_BuildValue("s",_ptemp
);
5662 _resultobj
= Py_None
;
5667 #define wxMenuItem_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
5668 static PyObject
*_wrap_wxMenuItem_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
* _resultobj
;
5672 PyObject
* _argo0
= 0;
5673 PyObject
* _obj1
= 0;
5674 char *_kwnames
[] = { "self","strName", NULL
};
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetName",_kwnames
,&_argo0
,&_obj1
))
5680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetName. Expected _wxMenuItem_p.");
5687 if (!PyString_Check(_obj1
)) {
5688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5691 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5694 wxPy_BEGIN_ALLOW_THREADS
;
5695 wxMenuItem_SetName(_arg0
,*_arg1
);
5697 wxPy_END_ALLOW_THREADS
;
5698 } Py_INCREF(Py_None
);
5699 _resultobj
= Py_None
;
5707 #define wxMenuItem_GetName(_swigobj) (_swigobj->GetName())
5708 static PyObject
*_wrap_wxMenuItem_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetName",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetName. Expected _wxMenuItem_p.");
5726 wxPy_BEGIN_ALLOW_THREADS
;
5727 _result
= new wxString (wxMenuItem_GetName(_arg0
));
5729 wxPy_END_ALLOW_THREADS
;
5731 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5739 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
5740 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
* _resultobj
;
5744 PyObject
* _argo0
= 0;
5745 char *_kwnames
[] = { "self", NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
5751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
5758 wxPy_BEGIN_ALLOW_THREADS
;
5759 _result
= new wxString (wxMenuItem_GetHelp(_arg0
));
5761 wxPy_END_ALLOW_THREADS
;
5763 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5771 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
5772 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5776 PyObject
* _argo0
= 0;
5777 PyObject
* _obj1
= 0;
5778 char *_kwnames
[] = { "self","strHelp", NULL
};
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
5784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
5791 if (!PyString_Check(_obj1
)) {
5792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5795 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5798 wxPy_BEGIN_ALLOW_THREADS
;
5799 wxMenuItem_SetHelp(_arg0
,*_arg1
);
5801 wxPy_END_ALLOW_THREADS
;
5802 } Py_INCREF(Py_None
);
5803 _resultobj
= Py_None
;
5811 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5812 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
* _resultobj
;
5815 bool _arg1
= (bool ) TRUE
;
5816 PyObject
* _argo0
= 0;
5817 int tempbool1
= (int) TRUE
;
5818 char *_kwnames
[] = { "self","bDoEnable", NULL
};
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
5824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
5830 _arg1
= (bool ) tempbool1
;
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 wxMenuItem_Enable(_arg0
,_arg1
);
5835 wxPy_END_ALLOW_THREADS
;
5836 } Py_INCREF(Py_None
);
5837 _resultobj
= Py_None
;
5841 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
5842 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
* _resultobj
;
5845 bool _arg1
= (bool ) TRUE
;
5846 PyObject
* _argo0
= 0;
5847 int tempbool1
= (int) TRUE
;
5848 char *_kwnames
[] = { "self","bDoCheck", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
5860 _arg1
= (bool ) tempbool1
;
5862 wxPy_BEGIN_ALLOW_THREADS
;
5863 wxMenuItem_Check(_arg0
,_arg1
);
5865 wxPy_END_ALLOW_THREADS
;
5866 } Py_INCREF(Py_None
);
5867 _resultobj
= Py_None
;
5871 static PyMethodDef windowscMethods
[] = {
5872 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
5873 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
5874 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
5875 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
5876 { "wxMenuItem_GetName", (PyCFunction
) _wrap_wxMenuItem_GetName
, METH_VARARGS
| METH_KEYWORDS
},
5877 { "wxMenuItem_SetName", (PyCFunction
) _wrap_wxMenuItem_SetName
, METH_VARARGS
| METH_KEYWORDS
},
5878 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
5879 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5880 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
5881 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
5882 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
5883 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
5884 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
5885 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
5886 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
5887 { "wxMenuBar_FindItemForId", (PyCFunction
) _wrap_wxMenuBar_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
5888 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
5889 { "wxMenuBar_Enabled", (PyCFunction
) _wrap_wxMenuBar_Enabled
, METH_VARARGS
| METH_KEYWORDS
},
5890 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
5891 { "wxMenuBar_Checked", (PyCFunction
) _wrap_wxMenuBar_Checked
, METH_VARARGS
| METH_KEYWORDS
},
5892 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
5893 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
5894 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
5895 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5896 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
5897 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
5898 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
5899 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
5900 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
5901 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
5902 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
5903 { "wxMenu_FindItemForId", (PyCFunction
) _wrap_wxMenu_FindItemForId
, METH_VARARGS
| METH_KEYWORDS
},
5904 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
5905 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
5906 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
5907 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
5908 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
5909 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
5910 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
5911 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
5912 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
5913 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
5914 { "wxScrolledWindow_ViewStart", (PyCFunction
) _wrap_wxScrolledWindow_ViewStart
, METH_VARARGS
| METH_KEYWORDS
},
5915 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
5916 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
5917 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
5918 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
5919 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
5920 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
5921 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
5922 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
5923 { "wxDialog_SetReturnCode", (PyCFunction
) _wrap_wxDialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
5924 { "wxDialog_GetReturnCode", (PyCFunction
) _wrap_wxDialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
5925 { "wxDialog_ShowModal", (PyCFunction
) _wrap_wxDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
5926 { "wxDialog_Show", (PyCFunction
) _wrap_wxDialog_Show
, METH_VARARGS
| METH_KEYWORDS
},
5927 { "wxDialog_SetTitle", (PyCFunction
) _wrap_wxDialog_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
5928 { "wxDialog_IsModal", (PyCFunction
) _wrap_wxDialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
5929 { "wxDialog_SetModal", (PyCFunction
) _wrap_wxDialog_SetModal
, METH_VARARGS
| METH_KEYWORDS
},
5930 { "wxDialog_IsIconized", (PyCFunction
) _wrap_wxDialog_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
5931 { "wxDialog_Iconize", (PyCFunction
) _wrap_wxDialog_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
5932 { "wxDialog_GetTitle", (PyCFunction
) _wrap_wxDialog_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
5933 { "wxDialog_EndModal", (PyCFunction
) _wrap_wxDialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
5934 { "wxDialog_Centre", (PyCFunction
) _wrap_wxDialog_Centre
, METH_VARARGS
| METH_KEYWORDS
},
5935 { "new_wxDialog", (PyCFunction
) _wrap_new_wxDialog
, METH_VARARGS
| METH_KEYWORDS
},
5936 { "wxPanel_SetDefaultItem", (PyCFunction
) _wrap_wxPanel_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
5937 { "wxPanel_GetDefaultItem", (PyCFunction
) _wrap_wxPanel_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
5938 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5939 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
5940 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
5941 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
5942 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
5943 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
5944 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
5945 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
5946 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
5947 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
5948 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
5949 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
5950 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
5951 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
5952 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
5953 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
5954 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
5955 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
5956 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
5957 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
5958 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
5959 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5960 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
5961 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
5962 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
5963 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
5964 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
5965 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5966 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5967 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
5968 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
5969 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
5970 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5971 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
5972 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5973 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
5974 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
5975 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
5976 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
5977 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
5978 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
5979 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
5980 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
5981 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
5982 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
5983 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
5984 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
5985 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
5986 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
5987 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
5988 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
5989 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
5990 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
5991 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
5992 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
5993 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
5994 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
5995 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
5996 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
5997 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
5998 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
5999 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6000 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6001 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
6002 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
6003 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
6004 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
6005 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6006 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6007 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6008 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6009 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6010 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6011 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6012 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
6013 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6014 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
6015 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
6016 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
6017 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6018 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6019 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6020 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6021 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
6022 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
6023 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
6024 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6025 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
6026 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6027 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
6028 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
6029 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
6030 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
6031 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
6032 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
6033 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
6034 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
6035 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
6036 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
6037 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
6044 * This table is used by the pointer type-checker
6046 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6047 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6048 { "_signed_long","_long",0},
6049 { "_wxPrintQuality","_int",0},
6050 { "_wxPrintQuality","_signed_int",0},
6051 { "_wxPrintQuality","_unsigned_int",0},
6052 { "_wxPrintQuality","_wxWindowID",0},
6053 { "_wxPrintQuality","_uint",0},
6054 { "_wxPrintQuality","_EBool",0},
6055 { "_wxPrintQuality","_size_t",0},
6056 { "_class_wxRegionIterator","_wxRegionIterator",0},
6057 { "_class_wxMenuBar","_wxMenuBar",0},
6058 { "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6059 { "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6060 { "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
6061 { "_class_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
6062 { "_class_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6063 { "_class_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6064 { "_class_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
6065 { "_class_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
6066 { "_class_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
6067 { "_class_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
6068 { "_class_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
6069 { "_class_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
6070 { "_class_wxEvtHandler","_wxEvtHandler",0},
6071 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6072 { "_wxCursor","_class_wxCursor",0},
6073 { "_wxMask","_class_wxMask",0},
6074 { "_wxPen","_class_wxPen",0},
6075 { "_byte","_unsigned_char",0},
6076 { "_long","_wxDash",0},
6077 { "_long","_unsigned_long",0},
6078 { "_long","_signed_long",0},
6079 { "_wxImageList","_class_wxImageList",0},
6080 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6081 { "_wxDC","_class_wxDC",0},
6082 { "_size_t","_wxPrintQuality",0},
6083 { "_size_t","_unsigned_int",0},
6084 { "_size_t","_int",0},
6085 { "_size_t","_wxWindowID",0},
6086 { "_size_t","_uint",0},
6087 { "_class_wxRealPoint","_wxRealPoint",0},
6088 { "_class_wxMenuItem","_wxMenuItem",0},
6089 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
6090 { "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6091 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6092 { "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
6093 { "_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
6094 { "_wxPanel","_class_wxPanel",0},
6095 { "_class_wxMask","_wxMask",0},
6096 { "_wxColour","_class_wxColour",0},
6097 { "_class_wxDialog","_wxDialog",0},
6098 { "_wxBrush","_class_wxBrush",0},
6099 { "_uint","_wxPrintQuality",0},
6100 { "_uint","_size_t",0},
6101 { "_uint","_unsigned_int",0},
6102 { "_uint","_int",0},
6103 { "_uint","_wxWindowID",0},
6104 { "_wxRect","_class_wxRect",0},
6105 { "_wxPoint","_class_wxPoint",0},
6106 { "_wxBitmap","_class_wxBitmap",0},
6107 { "_wxPyTimer","_class_wxPyTimer",0},
6108 { "_wxWindowDC","_class_wxWindowDC",0},
6109 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6110 { "_EBool","_wxPrintQuality",0},
6111 { "_EBool","_signed_int",0},
6112 { "_EBool","_int",0},
6113 { "_EBool","_wxWindowID",0},
6114 { "_class_wxRegion","_wxRegion",0},
6115 { "_wxFont","_class_wxFont",0},
6116 { "_unsigned_long","_wxDash",0},
6117 { "_unsigned_long","_long",0},
6118 { "_class_wxRect","_wxRect",0},
6119 { "_class_wxDC","_wxDC",0},
6120 { "_class_wxPyTimer","_wxPyTimer",0},
6121 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6122 { "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6123 { "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
6124 { "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel
},
6125 { "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel
},
6126 { "_class_wxPanel","_wxPanel",0},
6127 { "_signed_int","_wxPrintQuality",0},
6128 { "_signed_int","_EBool",0},
6129 { "_signed_int","_wxWindowID",0},
6130 { "_signed_int","_int",0},
6131 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6132 { "_wxMenu","_class_wxMenu",0},
6133 { "_wxScreenDC","_class_wxScreenDC",0},
6134 { "_WXTYPE","_short",0},
6135 { "_WXTYPE","_signed_short",0},
6136 { "_WXTYPE","_unsigned_short",0},
6137 { "_class_wxBrush","_wxBrush",0},
6138 { "_unsigned_short","_WXTYPE",0},
6139 { "_unsigned_short","_short",0},
6140 { "_class_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6141 { "_class_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6142 { "_class_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
6143 { "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
6144 { "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
6145 { "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
6146 { "_class_wxWindow","_wxWindow",0},
6147 { "_class_wxFont","_wxFont",0},
6148 { "_wxClientDC","_class_wxClientDC",0},
6149 { "_class_wxPoint","_wxPoint",0},
6150 { "_wxRealPoint","_class_wxRealPoint",0},
6151 { "_signed_short","_WXTYPE",0},
6152 { "_signed_short","_short",0},
6153 { "_wxMemoryDC","_class_wxMemoryDC",0},
6154 { "_wxPaintDC","_class_wxPaintDC",0},
6155 { "_class_wxWindowDC","_wxWindowDC",0},
6156 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6157 { "_class_wxCursor","_wxCursor",0},
6158 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
6159 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6160 { "_unsigned_char","_byte",0},
6161 { "_class_wxMenu","_wxMenu",0},
6162 { "_unsigned_int","_wxPrintQuality",0},
6163 { "_unsigned_int","_size_t",0},
6164 { "_unsigned_int","_uint",0},
6165 { "_unsigned_int","_wxWindowID",0},
6166 { "_unsigned_int","_int",0},
6167 { "_wxIcon","_class_wxIcon",0},
6168 { "_wxDialog","_class_wxDialog",0},
6169 { "_class_wxPen","_wxPen",0},
6170 { "_short","_WXTYPE",0},
6171 { "_short","_unsigned_short",0},
6172 { "_short","_signed_short",0},
6173 { "_class_wxImageList","_wxImageList",0},
6174 { "_wxWindowID","_wxPrintQuality",0},
6175 { "_wxWindowID","_size_t",0},
6176 { "_wxWindowID","_EBool",0},
6177 { "_wxWindowID","_uint",0},
6178 { "_wxWindowID","_int",0},
6179 { "_wxWindowID","_signed_int",0},
6180 { "_wxWindowID","_unsigned_int",0},
6181 { "_int","_wxPrintQuality",0},
6182 { "_int","_size_t",0},
6183 { "_int","_EBool",0},
6184 { "_int","_uint",0},
6185 { "_int","_wxWindowID",0},
6186 { "_int","_unsigned_int",0},
6187 { "_int","_signed_int",0},
6188 { "_wxSize","_class_wxSize",0},
6189 { "_wxRegionIterator","_class_wxRegionIterator",0},
6190 { "_class_wxPaintDC","_wxPaintDC",0},
6191 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6192 { "_class_wxIcon","_wxIcon",0},
6193 { "_class_wxColour","_wxColour",0},
6194 { "_class_wxScreenDC","_wxScreenDC",0},
6195 { "_wxPalette","_class_wxPalette",0},
6196 { "_wxRegion","_class_wxRegion",0},
6197 { "_class_wxClientDC","_wxClientDC",0},
6198 { "_class_wxSize","_wxSize",0},
6199 { "_class_wxBitmap","_wxBitmap",0},
6200 { "_class_wxMemoryDC","_wxMemoryDC",0},
6201 { "_wxMenuBar","_class_wxMenuBar",0},
6202 { "_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6203 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
6204 { "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler
},
6205 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
6206 { "_wxEvtHandler","_class_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6207 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
6208 { "_wxEvtHandler","_class_wxDialog",SwigwxDialogTowxEvtHandler
},
6209 { "_wxEvtHandler","_wxDialog",SwigwxDialogTowxEvtHandler
},
6210 { "_wxEvtHandler","_class_wxPanel",SwigwxPanelTowxEvtHandler
},
6211 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
6212 { "_wxEvtHandler","_class_wxWindow",SwigwxWindowTowxEvtHandler
},
6213 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
6214 { "_wxEvtHandler","_class_wxEvtHandler",0},
6215 { "_wxMenuItem","_class_wxMenuItem",0},
6216 { "_wxDash","_unsigned_long",0},
6217 { "_wxDash","_long",0},
6218 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6219 { "_class_wxPalette","_wxPalette",0},
6220 { "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6221 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
6222 { "_wxWindow","_class_wxDialog",SwigwxDialogTowxWindow
},
6223 { "_wxWindow","_wxDialog",SwigwxDialogTowxWindow
},
6224 { "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow
},
6225 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
6226 { "_wxWindow","_class_wxWindow",0},
6229 static PyObject
*SWIG_globals
;
6233 SWIGEXPORT(void) initwindowsc() {
6235 SWIG_globals
= SWIG_newvarlink();
6236 m
= Py_InitModule("windowsc", windowscMethods
);
6237 d
= PyModule_GetDict(m
);
6240 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6241 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);