2 * FILE : src/msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindowsc
55 #define SWIG_name "windowsc"
58 #include <wx/menuitem.h>
59 #include <wx/tooltip.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr
);
90 static const wxString
wxPyEmptyString(wxT(""));
92 class wxPyValidator
: public wxValidator
{
93 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
101 wxObject
* Clone() const {
102 wxPyValidator
* ptr
= NULL
;
103 wxPyValidator
* self
= (wxPyValidator
*)this;
105 wxPyBeginBlockThreads();
106 if (self
->m_myInst
.findCallback("Clone")) {
108 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
110 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
114 wxPyEndBlockThreads();
116 // This is very dangerous!!! But is the only way I could find
117 // to squash a memory leak. Currently it is okay, but if the
118 // validator architecture in wxWindows ever changes, problems
125 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
126 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
127 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
132 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
133 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
136 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
139 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
140 wxWindow
* win
= new wxWindow
;
142 win
->SubclassWin(hWnd
);
146 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
147 return wxWindow::FindWindowById(id
, parent
);
150 wxWindow
* wxFindWindowByName( const wxString
& name
,
151 const wxWindow
*parent
= NULL
) {
152 return wxWindow::FindWindowByName(name
, parent
);
155 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
156 const wxWindow
*parent
= NULL
) {
157 return wxWindow::FindWindowByLabel(label
, parent
);
162 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
163 PyObject
* _resultobj
;
166 char *_kwnames
[] = { "hWnd", NULL
};
169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
173 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
175 wxPyEndAllowThreads(__tstate
);
176 if (PyErr_Occurred()) return NULL
;
177 }{ _resultobj
= wxPyMake_wxObject(_result
); }
181 static PyObject
*_wrap_wxFindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
185 wxWindow
* _arg1
= (wxWindow
*) NULL
;
186 PyObject
* _argo1
= 0;
187 char *_kwnames
[] = { "id","parent", NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l|O:wxFindWindowById",_kwnames
,&_arg0
,&_argo1
))
193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 _result
= (wxWindow
*)wxFindWindowById(_arg0
,_arg1
);
203 wxPyEndAllowThreads(__tstate
);
204 if (PyErr_Occurred()) return NULL
;
205 }{ _resultobj
= wxPyMake_wxObject(_result
); }
209 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
210 PyObject
* _resultobj
;
213 wxWindow
* _arg1
= (wxWindow
*) NULL
;
214 PyObject
* _obj0
= 0;
215 PyObject
* _argo1
= 0;
216 char *_kwnames
[] = { "name","parent", NULL
};
219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
222 _arg0
= wxString_in_helper(_obj0
);
227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
235 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
237 wxPyEndAllowThreads(__tstate
);
238 if (PyErr_Occurred()) return NULL
;
239 }{ _resultobj
= wxPyMake_wxObject(_result
); }
247 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
251 wxWindow
* _arg1
= (wxWindow
*) NULL
;
252 PyObject
* _obj0
= 0;
253 PyObject
* _argo1
= 0;
254 char *_kwnames
[] = { "label","parent", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
260 _arg0
= wxString_in_helper(_obj0
);
265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
273 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
275 wxPyEndAllowThreads(__tstate
);
276 if (PyErr_Occurred()) return NULL
;
277 }{ _resultobj
= wxPyMake_wxObject(_result
); }
285 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
288 src
= (wxEvtHandler
*) ptr
;
289 dest
= (wxObject
*) src
;
290 return (void *) dest
;
293 #define new_wxEvtHandler() (new wxEvtHandler())
294 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
296 wxEvtHandler
* _result
;
297 char *_kwnames
[] = { NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
305 _result
= (wxEvtHandler
*)new_wxEvtHandler();
307 wxPyEndAllowThreads(__tstate
);
308 if (PyErr_Occurred()) return NULL
;
310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
311 _resultobj
= Py_BuildValue("s",_ptemp
);
314 _resultobj
= Py_None
;
319 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
320 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 wxEvtHandler
* _arg0
;
325 PyObject
* _argo0
= 0;
326 PyObject
* _argo1
= 0;
327 char *_kwnames
[] = { "self","event", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
340 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
347 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
349 wxPyEndAllowThreads(__tstate
);
350 if (PyErr_Occurred()) return NULL
;
351 } _resultobj
= Py_BuildValue("i",_result
);
355 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
356 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
357 PyObject
* _resultobj
;
358 wxEvtHandler
* _arg0
;
360 PyObject
* _argo0
= 0;
361 PyObject
* _argo1
= 0;
362 char *_kwnames
[] = { "self","event", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
375 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
386 } Py_INCREF(Py_None
);
387 _resultobj
= Py_None
;
391 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
392 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
395 wxEvtHandler
* _arg0
;
396 PyObject
* _argo0
= 0;
397 char *_kwnames
[] = { "self", NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
411 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
413 wxPyEndAllowThreads(__tstate
);
414 if (PyErr_Occurred()) return NULL
;
415 } _resultobj
= Py_BuildValue("i",_result
);
419 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
420 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
422 wxEvtHandler
* _arg0
;
424 PyObject
* _argo0
= 0;
426 char *_kwnames
[] = { "self","enabled", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
438 _arg1
= (bool ) tempbool1
;
440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
441 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
443 wxPyEndAllowThreads(__tstate
);
444 if (PyErr_Occurred()) return NULL
;
445 } Py_INCREF(Py_None
);
446 _resultobj
= Py_None
;
450 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
451 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
453 wxEvtHandler
* _result
;
454 wxEvtHandler
* _arg0
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
470 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
472 wxPyEndAllowThreads(__tstate
);
473 if (PyErr_Occurred()) return NULL
;
474 }{ _resultobj
= wxPyMake_wxObject(_result
); }
478 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
479 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
481 wxEvtHandler
* _result
;
482 wxEvtHandler
* _arg0
;
483 PyObject
* _argo0
= 0;
484 char *_kwnames
[] = { "self", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
498 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
500 wxPyEndAllowThreads(__tstate
);
501 if (PyErr_Occurred()) return NULL
;
502 }{ _resultobj
= wxPyMake_wxObject(_result
); }
506 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
507 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
509 wxEvtHandler
* _arg0
;
510 wxEvtHandler
* _arg1
;
511 PyObject
* _argo0
= 0;
512 PyObject
* _argo1
= 0;
513 char *_kwnames
[] = { "self","handler", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
534 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
536 wxPyEndAllowThreads(__tstate
);
537 if (PyErr_Occurred()) return NULL
;
538 } Py_INCREF(Py_None
);
539 _resultobj
= Py_None
;
543 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
544 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
546 wxEvtHandler
* _arg0
;
547 wxEvtHandler
* _arg1
;
548 PyObject
* _argo0
= 0;
549 PyObject
* _argo1
= 0;
550 char *_kwnames
[] = { "self","handler", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
571 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
573 wxPyEndAllowThreads(__tstate
);
574 if (PyErr_Occurred()) return NULL
;
575 } Py_INCREF(Py_None
);
576 _resultobj
= Py_None
;
580 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
581 if (PyCallable_Check(func
)) {
582 self
->Connect(id
, lastId
, eventType
,
583 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
584 new wxPyCallback(func
));
586 else if (func
== Py_None
) {
587 self
->Disconnect(id
, lastId
, eventType
,
588 (wxObjectEventFunction
)
589 &wxPyCallback::EventThunker
);
592 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
595 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
597 wxEvtHandler
* _arg0
;
602 PyObject
* _argo0
= 0;
603 PyObject
* _obj4
= 0;
604 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
621 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
623 wxPyEndAllowThreads(__tstate
);
624 if (PyErr_Occurred()) return NULL
;
625 } Py_INCREF(Py_None
);
626 _resultobj
= Py_None
;
630 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
631 return self
->Disconnect(id
, lastId
, eventType
,
632 (wxObjectEventFunction
)
633 &wxPyCallback::EventThunker
);
635 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
638 wxEvtHandler
* _arg0
;
640 int _arg2
= (int ) -1;
641 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
642 PyObject
* _argo0
= 0;
643 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
657 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
659 wxPyEndAllowThreads(__tstate
);
660 if (PyErr_Occurred()) return NULL
;
661 } _resultobj
= Py_BuildValue("i",_result
);
665 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
666 self
->SetClientObject(new wxPyOORClientData(_self
));
668 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 PyObject
* _resultobj
;
670 wxEvtHandler
* _arg0
;
672 PyObject
* _argo0
= 0;
673 PyObject
* _obj1
= 0;
674 char *_kwnames
[] = { "self","_self", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
691 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
693 wxPyEndAllowThreads(__tstate
);
694 if (PyErr_Occurred()) return NULL
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
700 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
703 src
= (wxValidator
*) ptr
;
704 dest
= (wxEvtHandler
*) src
;
705 return (void *) dest
;
708 static void *SwigwxValidatorTowxObject(void *ptr
) {
711 src
= (wxValidator
*) ptr
;
712 dest
= (wxObject
*) src
;
713 return (void *) dest
;
716 #define new_wxValidator() (new wxValidator())
717 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
719 wxValidator
* _result
;
720 char *_kwnames
[] = { NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 _result
= (wxValidator
*)new_wxValidator();
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) return NULL
;
733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
734 _resultobj
= Py_BuildValue("s",_ptemp
);
737 _resultobj
= Py_None
;
742 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
743 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
745 wxValidator
* _result
;
747 PyObject
* _argo0
= 0;
748 char *_kwnames
[] = { "self", NULL
};
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
762 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
764 wxPyEndAllowThreads(__tstate
);
765 if (PyErr_Occurred()) return NULL
;
766 }{ _resultobj
= wxPyMake_wxObject(_result
); }
770 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
771 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 PyObject
* _resultobj
;
775 PyObject
* _argo0
= 0;
776 char *_kwnames
[] = { "self", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
790 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
792 wxPyEndAllowThreads(__tstate
);
793 if (PyErr_Occurred()) return NULL
;
794 }{ _resultobj
= wxPyMake_wxObject(_result
); }
798 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
799 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 PyObject
* _argo1
= 0;
805 char *_kwnames
[] = { "self","window", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
826 wxValidator_SetWindow(_arg0
,_arg1
);
828 wxPyEndAllowThreads(__tstate
);
829 if (PyErr_Occurred()) return NULL
;
830 } Py_INCREF(Py_None
);
831 _resultobj
= Py_None
;
835 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
838 char *_kwnames
[] = { NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
845 _result
= (bool )wxValidator::IsSilent();
847 wxPyEndAllowThreads(__tstate
);
848 if (PyErr_Occurred()) return NULL
;
849 } _resultobj
= Py_BuildValue("i",_result
);
853 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
855 int _arg0
= (int ) TRUE
;
856 char *_kwnames
[] = { "doIt", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
863 wxValidator::SetBellOnError(_arg0
);
865 wxPyEndAllowThreads(__tstate
);
866 if (PyErr_Occurred()) return NULL
;
867 } Py_INCREF(Py_None
);
868 _resultobj
= Py_None
;
872 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
875 src
= (wxPyValidator
*) ptr
;
876 dest
= (wxValidator
*) src
;
877 return (void *) dest
;
880 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
883 src
= (wxPyValidator
*) ptr
;
884 dest
= (wxEvtHandler
*) src
;
885 return (void *) dest
;
888 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
891 src
= (wxPyValidator
*) ptr
;
892 dest
= (wxObject
*) src
;
893 return (void *) dest
;
896 #define new_wxPyValidator() (new wxPyValidator())
897 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
899 wxPyValidator
* _result
;
900 char *_kwnames
[] = { NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
908 _result
= (wxPyValidator
*)new_wxPyValidator();
910 wxPyEndAllowThreads(__tstate
);
911 if (PyErr_Occurred()) return NULL
;
913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
914 _resultobj
= Py_BuildValue("s",_ptemp
);
917 _resultobj
= Py_None
;
922 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
923 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
925 wxPyValidator
* _arg0
;
928 int _arg3
= (int ) TRUE
;
929 PyObject
* _argo0
= 0;
930 PyObject
* _obj1
= 0;
931 PyObject
* _obj2
= 0;
932 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) return NULL
;
956 } Py_INCREF(Py_None
);
957 _resultobj
= Py_None
;
961 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
964 src
= (wxWindow
*) ptr
;
965 dest
= (wxEvtHandler
*) src
;
966 return (void *) dest
;
969 static void *SwigwxWindowTowxObject(void *ptr
) {
972 src
= (wxWindow
*) ptr
;
973 dest
= (wxObject
*) src
;
974 return (void *) dest
;
977 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
978 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
983 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
984 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
985 long _arg4
= (long ) 0;
986 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
987 PyObject
* _argo0
= 0;
989 PyObject
* _obj2
= 0;
991 PyObject
* _obj3
= 0;
992 PyObject
* _obj5
= 0;
993 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
1009 if (! wxPoint_helper(_obj2
, &_arg2
))
1015 if (! wxSize_helper(_obj3
, &_arg3
))
1020 _arg5
= wxString_in_helper(_obj5
);
1025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1026 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1028 wxPyEndAllowThreads(__tstate
);
1029 if (PyErr_Occurred()) return NULL
;
1031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1032 _resultobj
= Py_BuildValue("s",_ptemp
);
1035 _resultobj
= Py_None
;
1044 #define new_wxPreWindow() (new wxWindow())
1045 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1048 char *_kwnames
[] = { NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 _result
= (wxWindow
*)new_wxPreWindow();
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) return NULL
;
1061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1062 _resultobj
= Py_BuildValue("s",_ptemp
);
1065 _resultobj
= Py_None
;
1070 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1071 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
* _resultobj
;
1077 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1078 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1079 long _arg5
= (long ) 0;
1080 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
1081 PyObject
* _argo0
= 0;
1082 PyObject
* _argo1
= 0;
1084 PyObject
* _obj3
= 0;
1086 PyObject
* _obj4
= 0;
1087 PyObject
* _obj6
= 0;
1088 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1110 if (! wxPoint_helper(_obj3
, &_arg3
))
1116 if (! wxSize_helper(_obj4
, &_arg4
))
1121 _arg6
= wxString_in_helper(_obj6
);
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) return NULL
;
1131 } _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1140 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 int _arg1
= (int ) wxBOTH
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self","direction", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 wxWindow_Center(_arg0
,_arg1
);
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) return NULL
;
1163 } Py_INCREF(Py_None
);
1164 _resultobj
= Py_None
;
1168 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1169 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
* _resultobj
;
1172 int _arg1
= (int ) wxBOTH
;
1173 PyObject
* _argo0
= 0;
1174 char *_kwnames
[] = { "self","direction", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1188 wxWindow_Centre(_arg0
,_arg1
);
1190 wxPyEndAllowThreads(__tstate
);
1191 if (PyErr_Occurred()) return NULL
;
1192 } Py_INCREF(Py_None
);
1193 _resultobj
= Py_None
;
1197 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1198 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1201 int _arg1
= (int ) wxBOTH
;
1202 PyObject
* _argo0
= 0;
1203 char *_kwnames
[] = { "self","direction", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 wxWindow_CentreOnParent(_arg0
,_arg1
);
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) return NULL
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1226 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1227 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1230 int _arg1
= (int ) wxBOTH
;
1231 PyObject
* _argo0
= 0;
1232 char *_kwnames
[] = { "self","direction", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1246 wxWindow_CenterOnParent(_arg0
,_arg1
);
1248 wxPyEndAllowThreads(__tstate
);
1249 if (PyErr_Occurred()) return NULL
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1256 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1259 int _arg1
= (int ) wxBOTH
;
1260 PyObject
* _argo0
= 0;
1261 char *_kwnames
[] = { "self","direction", NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) return NULL
;
1279 } Py_INCREF(Py_None
);
1280 _resultobj
= Py_None
;
1284 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1285 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
* _resultobj
;
1288 int _arg1
= (int ) wxBOTH
;
1289 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self","direction", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) return NULL
;
1308 } Py_INCREF(Py_None
);
1309 _resultobj
= Py_None
;
1313 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1314 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1317 PyObject
* _argo0
= 0;
1318 char *_kwnames
[] = { "self", NULL
};
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1332 wxWindow_Clear(_arg0
);
1334 wxPyEndAllowThreads(__tstate
);
1335 if (PyErr_Occurred()) return NULL
;
1336 } Py_INCREF(Py_None
);
1337 _resultobj
= Py_None
;
1341 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1342 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1347 PyObject
* _argo0
= 0;
1349 PyObject
* _obj1
= 0;
1351 PyObject
* _obj2
= 0;
1352 char *_kwnames
[] = { "self","x","y", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1365 temp
= (int) PyInt_AsLong(_obj1
);
1369 temp0
= (int) PyInt_AsLong(_obj2
);
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) return NULL
;
1378 } Py_INCREF(Py_None
);
1379 _resultobj
= Py_None
;
1382 o
= PyInt_FromLong((long) (*_arg1
));
1383 _resultobj
= t_output_helper(_resultobj
, o
);
1387 o
= PyInt_FromLong((long) (*_arg2
));
1388 _resultobj
= t_output_helper(_resultobj
, o
);
1393 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1394 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1401 PyObject
* _obj1
= 0;
1402 char *_kwnames
[] = { "self","pt", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1417 if (! wxPoint_helper(_obj1
, &_arg1
))
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1426 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1427 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1432 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1436 int _arg1
= (int ) FALSE
;
1437 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self","force", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) return NULL
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1461 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1465 PyObject
* _argo0
= 0;
1466 char *_kwnames
[] = { "self", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1480 _result
= (bool )wxWindow_Destroy(_arg0
);
1482 wxPyEndAllowThreads(__tstate
);
1483 if (PyErr_Occurred()) return NULL
;
1484 } _resultobj
= Py_BuildValue("i",_result
);
1488 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1489 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1492 PyObject
* _argo0
= 0;
1493 char *_kwnames
[] = { "self", NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 wxWindow_DestroyChildren(_arg0
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) return NULL
;
1511 } Py_INCREF(Py_None
);
1512 _resultobj
= Py_None
;
1516 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1517 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) return NULL
;
1540 } _resultobj
= Py_BuildValue("i",_result
);
1544 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1545 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1549 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self","accept", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1563 _arg1
= (bool ) tempbool1
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) return NULL
;
1570 } Py_INCREF(Py_None
);
1571 _resultobj
= Py_None
;
1575 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1576 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1580 PyObject
* _argo0
= 0;
1582 char *_kwnames
[] = { "self","enable", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1594 _arg1
= (bool ) tempbool1
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 wxWindow_Enable(_arg0
,_arg1
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) return NULL
;
1601 } Py_INCREF(Py_None
);
1602 _resultobj
= Py_None
;
1606 #define wxWindow_Disable(_swigobj) (_swigobj->Disable())
1607 static PyObject
*_wrap_wxWindow_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1610 PyObject
* _argo0
= 0;
1611 char *_kwnames
[] = { "self", NULL
};
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Disable",_kwnames
,&_argo0
))
1617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Disable. Expected _wxWindow_p.");
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 wxWindow_Disable(_arg0
);
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) return NULL
;
1629 } Py_INCREF(Py_None
);
1630 _resultobj
= Py_None
;
1634 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1635 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
* _resultobj
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self","id", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) return NULL
;
1659 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1663 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1664 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1669 PyObject
* _argo0
= 0;
1670 PyObject
* _obj1
= 0;
1671 char *_kwnames
[] = { "self","name", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1684 _arg1
= wxString_in_helper(_obj1
);
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) return NULL
;
1694 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1702 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1703 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 wxWindow_Fit(_arg0
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) return NULL
;
1725 } Py_INCREF(Py_None
);
1726 _resultobj
= Py_None
;
1730 #define wxWindow_FitInside(_swigobj) (_swigobj->FitInside())
1731 static PyObject
*_wrap_wxWindow_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1734 PyObject
* _argo0
= 0;
1735 char *_kwnames
[] = { "self", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_FitInside",_kwnames
,&_argo0
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FitInside. Expected _wxWindow_p.");
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 wxWindow_FitInside(_arg0
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) return NULL
;
1753 } Py_INCREF(Py_None
);
1754 _resultobj
= Py_None
;
1758 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1759 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 char *_kwnames
[] = { "self", NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) return NULL
;
1783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1784 _resultobj
= Py_BuildValue("s",_ptemp
);
1788 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1789 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1793 PyObject
* _argo0
= 0;
1794 char *_kwnames
[] = { "self", NULL
};
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) return NULL
;
1812 } _resultobj
= Py_BuildValue("i",_result
);
1816 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1817 wxWindowList
& list
= self
->GetChildren();
1818 return wxPy_ConvertList(&list
, "wxWindow");
1820 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1824 PyObject
* _argo0
= 0;
1825 char *_kwnames
[] = { "self", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) return NULL
;
1844 _resultobj
= _result
;
1849 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1850 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1854 PyObject
* _argo0
= 0;
1855 char *_kwnames
[] = { "self", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) return NULL
;
1873 } _resultobj
= Py_BuildValue("i",_result
);
1877 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1878 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1882 PyObject
* _argo0
= 0;
1883 char *_kwnames
[] = { "self", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) return NULL
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1906 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1913 PyObject
* _argo0
= 0;
1914 char *_kwnames
[] = { "self", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_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_GetClientSizeTuple. Expected _wxWindow_p.");
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) return NULL
;
1938 } Py_INCREF(Py_None
);
1939 _resultobj
= Py_None
;
1942 o
= PyInt_FromLong((long) (*_arg1
));
1943 _resultobj
= t_output_helper(_resultobj
, o
);
1947 o
= PyInt_FromLong((long) (*_arg2
));
1948 _resultobj
= t_output_helper(_resultobj
, o
);
1953 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1954 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1958 PyObject
* _argo0
= 0;
1959 char *_kwnames
[] = { "self", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) return NULL
;
1978 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1979 _resultobj
= Py_BuildValue("s",_ptemp
);
1983 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1984 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1988 PyObject
* _argo0
= 0;
1989 char *_kwnames
[] = { "self", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) return NULL
;
2008 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2009 _resultobj
= Py_BuildValue("s",_ptemp
);
2013 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
2014 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) return NULL
;
2038 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2039 _resultobj
= Py_BuildValue("s",_ptemp
);
2043 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
2044 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2046 wxLayoutConstraints
* _result
;
2048 PyObject
* _argo0
= 0;
2049 char *_kwnames
[] = { "self", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
2056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) return NULL
;
2069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2070 _resultobj
= Py_BuildValue("s",_ptemp
);
2073 _resultobj
= Py_None
;
2078 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
2079 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2081 wxEvtHandler
* _result
;
2083 PyObject
* _argo0
= 0;
2084 char *_kwnames
[] = { "self", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
2090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
2097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2098 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
2100 wxPyEndAllowThreads(__tstate
);
2101 if (PyErr_Occurred()) return NULL
;
2102 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2106 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
2107 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2111 PyObject
* _argo0
= 0;
2112 char *_kwnames
[] = { "self", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 _result
= new wxFont (wxWindow_GetFont(_arg0
));
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) return NULL
;
2131 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2132 _resultobj
= Py_BuildValue("s",_ptemp
);
2136 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
2137 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2141 PyObject
* _argo0
= 0;
2142 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) return NULL
;
2161 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2162 _resultobj
= Py_BuildValue("s",_ptemp
);
2166 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
2167 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2171 PyObject
* _argo0
= 0;
2172 char *_kwnames
[] = { "self", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) return NULL
;
2190 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2194 static long wxWindow_GetHandle(wxWindow
*self
) {
2195 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2197 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 _result
= (long )wxWindow_GetHandle(_arg0
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) return NULL
;
2220 } _resultobj
= Py_BuildValue("l",_result
);
2224 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2225 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2229 PyObject
* _argo0
= 0;
2230 char *_kwnames
[] = { "self", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 _result
= (int )wxWindow_GetId(_arg0
);
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) return NULL
;
2248 } _resultobj
= Py_BuildValue("i",_result
);
2252 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2253 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2257 PyObject
* _argo0
= 0;
2258 char *_kwnames
[] = { "self", NULL
};
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) return NULL
;
2278 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2280 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2289 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2290 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2294 PyObject
* _argo0
= 0;
2295 PyObject
* _obj1
= 0;
2296 char *_kwnames
[] = { "self","label", NULL
};
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2309 _arg1
= wxString_in_helper(_obj1
);
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 wxWindow_SetLabel(_arg0
,*_arg1
);
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) return NULL
;
2319 } Py_INCREF(Py_None
);
2320 _resultobj
= Py_None
;
2328 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2329 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2333 PyObject
* _argo0
= 0;
2334 char *_kwnames
[] = { "self", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 _result
= new wxString (wxWindow_GetName(_arg0
));
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) return NULL
;
2354 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2356 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2365 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2366 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
* _resultobj
;
2370 PyObject
* _argo0
= 0;
2371 char *_kwnames
[] = { "self", NULL
};
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) return NULL
;
2389 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2393 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2394 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
* _resultobj
;
2401 PyObject
* _argo0
= 0;
2402 char *_kwnames
[] = { "self", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) return NULL
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2430 o
= PyInt_FromLong((long) (*_arg1
));
2431 _resultobj
= t_output_helper(_resultobj
, o
);
2435 o
= PyInt_FromLong((long) (*_arg2
));
2436 _resultobj
= t_output_helper(_resultobj
, o
);
2441 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2442 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2446 PyObject
* _argo0
= 0;
2447 char *_kwnames
[] = { "self", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) return NULL
;
2466 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2467 _resultobj
= Py_BuildValue("s",_ptemp
);
2471 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2472 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2477 char *_kwnames
[] = { "self", NULL
};
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) return NULL
;
2496 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2497 _resultobj
= Py_BuildValue("s",_ptemp
);
2501 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2502 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self","orientation", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) return NULL
;
2526 } _resultobj
= Py_BuildValue("i",_result
);
2530 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2531 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self","orientation", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) return NULL
;
2555 } _resultobj
= Py_BuildValue("i",_result
);
2559 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2560 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2565 PyObject
* _argo0
= 0;
2566 char *_kwnames
[] = { "self","orientation", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) return NULL
;
2584 } _resultobj
= Py_BuildValue("i",_result
);
2588 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2589 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2596 PyObject
* _argo0
= 0;
2597 char *_kwnames
[] = { "self", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) return NULL
;
2621 } Py_INCREF(Py_None
);
2622 _resultobj
= Py_None
;
2625 o
= PyInt_FromLong((long) (*_arg1
));
2626 _resultobj
= t_output_helper(_resultobj
, o
);
2630 o
= PyInt_FromLong((long) (*_arg2
));
2631 _resultobj
= t_output_helper(_resultobj
, o
);
2636 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2637 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
* _resultobj
;
2641 PyObject
* _argo0
= 0;
2642 char *_kwnames
[] = { "self", NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) return NULL
;
2661 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2662 _resultobj
= Py_BuildValue("s",_ptemp
);
2666 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2667 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
* _resultobj
;
2675 PyObject
* _argo0
= 0;
2676 PyObject
* _obj1
= 0;
2677 char *_kwnames
[] = { "self","string", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2696 _arg1
= wxString_in_helper(_obj1
);
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) return NULL
;
2706 } Py_INCREF(Py_None
);
2707 _resultobj
= Py_None
;
2710 o
= PyInt_FromLong((long) (*_arg2
));
2711 _resultobj
= t_output_helper(_resultobj
, o
);
2715 o
= PyInt_FromLong((long) (*_arg3
));
2716 _resultobj
= t_output_helper(_resultobj
, o
);
2725 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2726 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2738 wxFont
* _arg6
= (wxFont
*) NULL
;
2739 PyObject
* _argo0
= 0;
2740 PyObject
* _obj1
= 0;
2741 PyObject
* _argo6
= 0;
2742 char *_kwnames
[] = { "self","string","font", NULL
};
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2767 _arg1
= wxString_in_helper(_obj1
);
2772 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) return NULL
;
2784 } Py_INCREF(Py_None
);
2785 _resultobj
= Py_None
;
2788 o
= PyInt_FromLong((long) (*_arg2
));
2789 _resultobj
= t_output_helper(_resultobj
, o
);
2793 o
= PyInt_FromLong((long) (*_arg3
));
2794 _resultobj
= t_output_helper(_resultobj
, o
);
2798 o
= PyInt_FromLong((long) (*_arg4
));
2799 _resultobj
= t_output_helper(_resultobj
, o
);
2803 o
= PyInt_FromLong((long) (*_arg5
));
2804 _resultobj
= t_output_helper(_resultobj
, o
);
2813 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2814 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
* _resultobj
;
2818 PyObject
* _argo0
= 0;
2819 char *_kwnames
[] = { "self", NULL
};
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) return NULL
;
2839 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2841 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2850 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2851 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2855 PyObject
* _argo0
= 0;
2856 char *_kwnames
[] = { "self", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) return NULL
;
2875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2876 _resultobj
= Py_BuildValue("s",_ptemp
);
2880 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2881 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2885 PyObject
* _argo0
= 0;
2886 char *_kwnames
[] = { "self", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) return NULL
;
2904 } _resultobj
= Py_BuildValue("l",_result
);
2908 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2909 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
* _resultobj
;
2913 PyObject
* _argo0
= 0;
2914 char *_kwnames
[] = { "self","style", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) return NULL
;
2932 } Py_INCREF(Py_None
);
2933 _resultobj
= Py_None
;
2937 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2938 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2942 PyObject
* _argo0
= 0;
2943 char *_kwnames
[] = { "self","style", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) return NULL
;
2961 } Py_INCREF(Py_None
);
2962 _resultobj
= Py_None
;
2966 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2967 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self","orient", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) return NULL
;
2991 } _resultobj
= Py_BuildValue("i",_result
);
2995 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2996 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 _result
= (bool )wxWindow_Hide(_arg0
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) return NULL
;
3019 } _resultobj
= Py_BuildValue("i",_result
);
3023 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
3024 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3029 PyObject
* _argo0
= 0;
3031 PyObject
* _obj1
= 0;
3032 char *_kwnames
[] = { "self","pt", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
3046 if (! wxPoint_helper(_obj1
, &_arg1
))
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) return NULL
;
3055 } _resultobj
= Py_BuildValue("i",_result
);
3059 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
3060 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3063 PyObject
* _argo0
= 0;
3064 char *_kwnames
[] = { "self", NULL
};
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
3070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 wxWindow_InitDialog(_arg0
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) return NULL
;
3082 } Py_INCREF(Py_None
);
3083 _resultobj
= Py_None
;
3087 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3088 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3092 PyObject
* _argo0
= 0;
3093 char *_kwnames
[] = { "self", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 _result
= (bool )wxWindow_IsEnabled(_arg0
);
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) return NULL
;
3111 } _resultobj
= Py_BuildValue("i",_result
);
3115 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3116 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
* _resultobj
;
3122 int _arg3
= (int ) 0;
3123 int _arg4
= (int ) 0;
3124 PyObject
* _argo0
= 0;
3125 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) return NULL
;
3143 } _resultobj
= Py_BuildValue("i",_result
);
3147 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3148 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
* _resultobj
;
3153 PyObject
* _argo0
= 0;
3155 PyObject
* _obj1
= 0;
3156 char *_kwnames
[] = { "self","pt", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3170 if (! wxPoint_helper(_obj1
, &_arg1
))
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) return NULL
;
3179 } _resultobj
= Py_BuildValue("i",_result
);
3183 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3184 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
* _resultobj
;
3189 PyObject
* _argo0
= 0;
3191 PyObject
* _obj1
= 0;
3192 char *_kwnames
[] = { "self","rect", NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3206 if (! wxRect_helper(_obj1
, &_arg1
))
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) return NULL
;
3215 } _resultobj
= Py_BuildValue("i",_result
);
3219 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3220 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3224 PyObject
* _argo0
= 0;
3225 char *_kwnames
[] = { "self", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 _result
= (bool )wxWindow_IsRetained(_arg0
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) return NULL
;
3243 } _resultobj
= Py_BuildValue("i",_result
);
3247 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3248 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3252 PyObject
* _argo0
= 0;
3253 char *_kwnames
[] = { "self", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 _result
= (bool )wxWindow_IsShown(_arg0
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) return NULL
;
3271 } _resultobj
= Py_BuildValue("i",_result
);
3275 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3276 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
* _resultobj
;
3280 PyObject
* _argo0
= 0;
3281 char *_kwnames
[] = { "self", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) return NULL
;
3299 } _resultobj
= Py_BuildValue("i",_result
);
3303 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3304 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
* _resultobj
;
3307 PyObject
* _argo0
= 0;
3308 char *_kwnames
[] = { "self", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxWindow_Layout(_arg0
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3326 } Py_INCREF(Py_None
);
3327 _resultobj
= Py_None
;
3331 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3332 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3335 PyObject
* _argo0
= 0;
3336 char *_kwnames
[] = { "self", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 wxWindow_Lower(_arg0
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } Py_INCREF(Py_None
);
3355 _resultobj
= Py_None
;
3359 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3360 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3363 bool _arg1
= (bool ) TRUE
;
3364 PyObject
* _argo0
= 0;
3365 int tempbool1
= (int) TRUE
;
3366 char *_kwnames
[] = { "self","flag", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3378 _arg1
= (bool ) tempbool1
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxWindow_MakeModal(_arg0
,_arg1
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) return NULL
;
3385 } Py_INCREF(Py_None
);
3386 _resultobj
= Py_None
;
3390 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3391 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3396 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3397 PyObject
* _argo0
= 0;
3398 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3416 } Py_INCREF(Py_None
);
3417 _resultobj
= Py_None
;
3421 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3422 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
* _resultobj
;
3426 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3427 PyObject
* _argo0
= 0;
3429 PyObject
* _obj1
= 0;
3430 char *_kwnames
[] = { "self","point","flags", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3444 if (! wxPoint_helper(_obj1
, &_arg1
))
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) return NULL
;
3453 } Py_INCREF(Py_None
);
3454 _resultobj
= Py_None
;
3458 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3459 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3461 wxEvtHandler
* _result
;
3463 bool _arg1
= (bool ) FALSE
;
3464 PyObject
* _argo0
= 0;
3465 int tempbool1
= (int) FALSE
;
3466 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3478 _arg1
= (bool ) tempbool1
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) return NULL
;
3485 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3489 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3490 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3493 wxEvtHandler
* _arg1
;
3494 PyObject
* _argo0
= 0;
3495 PyObject
* _argo1
= 0;
3496 char *_kwnames
[] = { "self","handler", NULL
};
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3509 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3510 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 wxWindow_PushEventHandler(_arg0
,_arg1
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) return NULL
;
3521 } Py_INCREF(Py_None
);
3522 _resultobj
= Py_None
;
3526 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3527 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
* _resultobj
;
3531 wxEvtHandler
* _arg1
;
3532 PyObject
* _argo0
= 0;
3533 PyObject
* _argo1
= 0;
3534 char *_kwnames
[] = { "self","handler", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) return NULL
;
3559 } _resultobj
= Py_BuildValue("i",_result
);
3563 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3564 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3571 PyObject
* _argo0
= 0;
3572 PyObject
* _argo1
= 0;
3573 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) return NULL
;
3598 } _resultobj
= Py_BuildValue("i",_result
);
3602 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3603 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3609 PyObject
* _argo0
= 0;
3610 PyObject
* _argo1
= 0;
3612 PyObject
* _obj2
= 0;
3613 char *_kwnames
[] = { "self","menu","pos", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3634 if (! wxPoint_helper(_obj2
, &_arg2
))
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) return NULL
;
3643 } _resultobj
= Py_BuildValue("i",_result
);
3647 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3648 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3651 PyObject
* _argo0
= 0;
3652 char *_kwnames
[] = { "self", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 wxWindow_Raise(_arg0
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) return NULL
;
3670 } Py_INCREF(Py_None
);
3671 _resultobj
= Py_None
;
3675 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3676 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3679 bool _arg1
= (bool ) TRUE
;
3680 wxRect
* _arg2
= (wxRect
*) NULL
;
3681 PyObject
* _argo0
= 0;
3682 int tempbool1
= (int) TRUE
;
3684 PyObject
* _obj2
= 0;
3685 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3697 _arg1
= (bool ) tempbool1
;
3701 if (! wxRect_helper(_obj2
, &_arg2
))
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) return NULL
;
3710 } Py_INCREF(Py_None
);
3711 _resultobj
= Py_None
;
3715 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3716 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3720 PyObject
* _argo0
= 0;
3722 PyObject
* _obj1
= 0;
3723 char *_kwnames
[] = { "self","rect", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3737 if (! wxRect_helper(_obj1
, &_arg1
))
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 wxWindow_RefreshRect(_arg0
,*_arg1
);
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) return NULL
;
3746 } Py_INCREF(Py_None
);
3747 _resultobj
= Py_None
;
3751 #define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3752 static PyObject
*_wrap_wxWindow_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3756 PyObject
* _argo0
= 0;
3757 PyObject
* _argo1
= 0;
3758 char *_kwnames
[] = { "self","child", NULL
};
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_AddChild",_kwnames
,&_argo0
,&_argo1
))
3764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 wxWindow_AddChild(_arg0
,_arg1
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) return NULL
;
3783 } Py_INCREF(Py_None
);
3784 _resultobj
= Py_None
;
3788 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3789 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3793 PyObject
* _argo0
= 0;
3794 PyObject
* _argo1
= 0;
3795 char *_kwnames
[] = { "self","child", NULL
};
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3808 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 wxWindow_RemoveChild(_arg0
,_arg1
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) return NULL
;
3820 } Py_INCREF(Py_None
);
3821 _resultobj
= Py_None
;
3825 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3826 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
* _resultobj
;
3831 PyObject
* _argo0
= 0;
3832 PyObject
* _argo1
= 0;
3833 char *_kwnames
[] = { "self","newParent", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3846 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) return NULL
;
3858 } _resultobj
= Py_BuildValue("i",_result
);
3862 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3863 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
* _resultobj
;
3868 PyObject
* _argo0
= 0;
3870 PyObject
* _obj1
= 0;
3872 PyObject
* _obj2
= 0;
3873 char *_kwnames
[] = { "self","x","y", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3886 temp
= (int) PyInt_AsLong(_obj1
);
3890 temp0
= (int) PyInt_AsLong(_obj2
);
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) return NULL
;
3899 } Py_INCREF(Py_None
);
3900 _resultobj
= Py_None
;
3903 o
= PyInt_FromLong((long) (*_arg1
));
3904 _resultobj
= t_output_helper(_resultobj
, o
);
3908 o
= PyInt_FromLong((long) (*_arg2
));
3909 _resultobj
= t_output_helper(_resultobj
, o
);
3914 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3915 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3920 PyObject
* _argo0
= 0;
3922 PyObject
* _obj1
= 0;
3923 char *_kwnames
[] = { "self","pt", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3938 if (! wxPoint_helper(_obj1
, &_arg1
))
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) return NULL
;
3947 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3948 _resultobj
= Py_BuildValue("s",_ptemp
);
3952 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3953 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3958 wxRect
* _arg3
= (wxRect
*) NULL
;
3959 PyObject
* _argo0
= 0;
3961 PyObject
* _obj3
= 0;
3962 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3977 if (! wxRect_helper(_obj3
, &_arg3
))
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) return NULL
;
3986 } Py_INCREF(Py_None
);
3987 _resultobj
= Py_None
;
3991 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3992 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3996 PyObject
* _argo0
= 0;
3998 char *_kwnames
[] = { "self","autoLayout", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
4010 _arg1
= (bool ) tempbool1
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 wxWindow_SetAutoLayout(_arg0
,_arg1
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) return NULL
;
4017 } Py_INCREF(Py_None
);
4018 _resultobj
= Py_None
;
4022 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
4023 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
* _resultobj
;
4027 PyObject
* _argo0
= 0;
4028 char *_kwnames
[] = { "self", NULL
};
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
4034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) return NULL
;
4046 } _resultobj
= Py_BuildValue("i",_result
);
4050 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4051 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
* _resultobj
;
4055 PyObject
* _argo0
= 0;
4057 PyObject
* _obj1
= 0;
4058 char *_kwnames
[] = { "self","colour", NULL
};
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
4072 if (! wxColour_helper(_obj1
, &_arg1
))
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) return NULL
;
4081 } Py_INCREF(Py_None
);
4082 _resultobj
= Py_None
;
4086 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
4087 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4090 wxLayoutConstraints
* _arg1
;
4091 PyObject
* _argo0
= 0;
4092 PyObject
* _argo1
= 0;
4093 char *_kwnames
[] = { "self","constraints", NULL
};
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
4099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4106 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 wxWindow_SetConstraints(_arg0
,_arg1
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) return NULL
;
4118 } Py_INCREF(Py_None
);
4119 _resultobj
= Py_None
;
4123 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4124 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4127 wxLayoutConstraints
* _arg1
;
4128 PyObject
* _argo0
= 0;
4129 PyObject
* _argo1
= 0;
4130 char *_kwnames
[] = { "self","constraints", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4160 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4161 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 wxWindow_SetFocus(_arg0
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } Py_INCREF(Py_None
);
4184 _resultobj
= Py_None
;
4188 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4189 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocusFromKbd",_kwnames
,&_argo0
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 wxWindow_SetFocusFromKbd(_arg0
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) return NULL
;
4211 } Py_INCREF(Py_None
);
4212 _resultobj
= Py_None
;
4216 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4217 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4221 PyObject
* _argo0
= 0;
4222 char *_kwnames
[] = { "self", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } _resultobj
= Py_BuildValue("i",_result
);
4244 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4245 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4249 PyObject
* _argo0
= 0;
4250 PyObject
* _argo1
= 0;
4251 char *_kwnames
[] = { "self","font", NULL
};
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4264 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 wxWindow_SetFont(_arg0
,*_arg1
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) return NULL
;
4275 } Py_INCREF(Py_None
);
4276 _resultobj
= Py_None
;
4280 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4281 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4285 PyObject
* _argo0
= 0;
4287 PyObject
* _obj1
= 0;
4288 char *_kwnames
[] = { "self","colour", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4302 if (! wxColour_helper(_obj1
, &_arg1
))
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) return NULL
;
4311 } Py_INCREF(Py_None
);
4312 _resultobj
= Py_None
;
4316 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4317 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
* _resultobj
;
4321 PyObject
* _argo0
= 0;
4322 char *_kwnames
[] = { "self","id", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 wxWindow_SetId(_arg0
,_arg1
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) return NULL
;
4340 } Py_INCREF(Py_None
);
4341 _resultobj
= Py_None
;
4345 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4346 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4350 PyObject
* _argo0
= 0;
4351 PyObject
* _obj1
= 0;
4352 char *_kwnames
[] = { "self","name", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4365 _arg1
= wxString_in_helper(_obj1
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 wxWindow_SetName(_arg0
,*_arg1
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) return NULL
;
4375 } Py_INCREF(Py_None
);
4376 _resultobj
= Py_None
;
4384 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4385 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4392 int _arg5
= (int ) TRUE
;
4393 PyObject
* _argo0
= 0;
4394 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) return NULL
;
4412 } Py_INCREF(Py_None
);
4413 _resultobj
= Py_None
;
4417 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4418 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
* _resultobj
;
4423 bool _arg3
= (bool ) TRUE
;
4424 PyObject
* _argo0
= 0;
4425 int tempbool3
= (int) TRUE
;
4426 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4438 _arg3
= (bool ) tempbool3
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) return NULL
;
4445 } Py_INCREF(Py_None
);
4446 _resultobj
= Py_None
;
4450 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4451 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4458 int _arg5
= (int ) wxSIZE_AUTO
;
4459 PyObject
* _argo0
= 0;
4460 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) return NULL
;
4478 } Py_INCREF(Py_None
);
4479 _resultobj
= Py_None
;
4483 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4484 self
->SetSize(size
);
4486 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4490 PyObject
* _argo0
= 0;
4492 PyObject
* _obj1
= 0;
4493 char *_kwnames
[] = { "self","size", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4507 if (! wxSize_helper(_obj1
, &_arg1
))
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 wxWindow_SetSize(_arg0
,*_arg1
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) return NULL
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4522 self
->Move(pos
, flags
);
4524 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4528 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4529 PyObject
* _argo0
= 0;
4531 PyObject
* _obj1
= 0;
4532 char *_kwnames
[] = { "self","pos","flags", NULL
};
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4546 if (! wxPoint_helper(_obj1
, &_arg1
))
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) return NULL
;
4555 } Py_INCREF(Py_None
);
4556 _resultobj
= Py_None
;
4560 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4561 self
->SetSize(rect
, sizeFlags
);
4563 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4567 int _arg2
= (int ) wxSIZE_AUTO
;
4568 PyObject
* _argo0
= 0;
4570 PyObject
* _obj1
= 0;
4571 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4585 if (! wxRect_helper(_obj1
, &_arg1
))
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) return NULL
;
4594 } Py_INCREF(Py_None
);
4595 _resultobj
= Py_None
;
4599 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4600 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4605 int _arg3
= (int ) -1;
4606 int _arg4
= (int ) -1;
4607 int _arg5
= (int ) -1;
4608 int _arg6
= (int ) -1;
4609 PyObject
* _argo0
= 0;
4610 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) return NULL
;
4628 } Py_INCREF(Py_None
);
4629 _resultobj
= Py_None
;
4633 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4634 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
* _resultobj
;
4639 int _arg3
= (int ) -1;
4640 int _arg4
= (int ) -1;
4641 PyObject
* _argo0
= 0;
4642 char *_kwnames
[] = { "self","minW","minH","maxW","maxH", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 wxWindow_SetVirtualSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) return NULL
;
4660 } Py_INCREF(Py_None
);
4661 _resultobj
= Py_None
;
4665 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4666 static PyObject
*_wrap_wxWindow_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4670 PyObject
* _argo0
= 0;
4672 PyObject
* _obj1
= 0;
4673 char *_kwnames
[] = { "self","size", NULL
};
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetVirtualSize",_kwnames
,&_argo0
,&_obj1
))
4679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4687 if (! wxSize_helper(_obj1
, &_arg1
))
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxWindow_SetVirtualSize(_arg0
,*_arg1
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4696 } Py_INCREF(Py_None
);
4697 _resultobj
= Py_None
;
4701 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4702 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4707 PyObject
* _argo0
= 0;
4708 char *_kwnames
[] = { "self","x","y", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetVirtualSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxWindow_SetVirtualSizeWH(_arg0
,_arg1
,_arg2
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) return NULL
;
4726 } Py_INCREF(Py_None
);
4727 _resultobj
= Py_None
;
4731 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4732 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4736 PyObject
* _argo0
= 0;
4737 char *_kwnames
[] = { "self", NULL
};
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSize",_kwnames
,&_argo0
))
4744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 _result
= new wxSize (wxWindow_GetVirtualSize(_arg0
));
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) return NULL
;
4756 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4757 _resultobj
= Py_BuildValue("s",_ptemp
);
4761 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4762 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4769 PyObject
* _argo0
= 0;
4770 char *_kwnames
[] = { "self", NULL
};
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSizeTuple",_kwnames
,&_argo0
))
4782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 wxWindow_GetVirtualSizeTuple(_arg0
,_arg1
,_arg2
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) return NULL
;
4794 } Py_INCREF(Py_None
);
4795 _resultobj
= Py_None
;
4798 o
= PyInt_FromLong((long) (*_arg1
));
4799 _resultobj
= t_output_helper(_resultobj
, o
);
4803 o
= PyInt_FromLong((long) (*_arg2
));
4804 _resultobj
= t_output_helper(_resultobj
, o
);
4809 #define wxWindow_GetBestVirtualSize(_swigobj) (_swigobj->GetBestVirtualSize())
4810 static PyObject
*_wrap_wxWindow_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4814 PyObject
* _argo0
= 0;
4815 char *_kwnames
[] = { "self", NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestVirtualSize",_kwnames
,&_argo0
))
4822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestVirtualSize. Expected _wxWindow_p.");
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 _result
= new wxSize (wxWindow_GetBestVirtualSize(_arg0
));
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) return NULL
;
4834 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4835 _resultobj
= Py_BuildValue("s",_ptemp
);
4839 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4840 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4845 PyObject
* _argo0
= 0;
4846 char *_kwnames
[] = { "self","width","height", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) return NULL
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4869 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4870 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4874 PyObject
* _argo0
= 0;
4876 PyObject
* _obj1
= 0;
4877 char *_kwnames
[] = { "self","size", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4891 if (! wxSize_helper(_obj1
, &_arg1
))
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 wxWindow_SetClientSize(_arg0
,*_arg1
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) return NULL
;
4900 } Py_INCREF(Py_None
);
4901 _resultobj
= Py_None
;
4905 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4906 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
* _resultobj
;
4911 PyObject
* _argo0
= 0;
4912 PyObject
* _argo1
= 0;
4913 char *_kwnames
[] = { "self","cursor", NULL
};
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4926 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 _result
= (bool )wxWindow_SetCursor(_arg0
,*_arg1
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) return NULL
;
4937 } _resultobj
= Py_BuildValue("i",_result
);
4941 #define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4942 static PyObject
*_wrap_wxWindow_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
* _resultobj
;
4946 PyObject
* _argo0
= 0;
4947 char *_kwnames
[] = { "self", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCursor",_kwnames
,&_argo0
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 wxCursor
& _result_ref
= wxWindow_GetCursor(_arg0
);
4963 _result
= (wxCursor
*) &_result_ref
;
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) return NULL
;
4968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
4969 _resultobj
= Py_BuildValue("s",_ptemp
);
4972 _resultobj
= Py_None
;
4977 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4978 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4981 wxEvtHandler
* _arg1
;
4982 PyObject
* _argo0
= 0;
4983 PyObject
* _argo1
= 0;
4984 char *_kwnames
[] = { "self","handler", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 wxWindow_SetEventHandler(_arg0
,_arg1
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) return NULL
;
5009 } Py_INCREF(Py_None
);
5010 _resultobj
= Py_None
;
5014 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
5015 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5019 PyObject
* _argo0
= 0;
5020 char *_kwnames
[] = { "self","exStyle", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 wxWindow_SetExtraStyle(_arg0
,_arg1
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) return NULL
;
5038 } Py_INCREF(Py_None
);
5039 _resultobj
= Py_None
;
5043 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5044 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5048 PyObject
* _argo0
= 0;
5049 PyObject
* _obj1
= 0;
5050 char *_kwnames
[] = { "self","title", NULL
};
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
5063 _arg1
= wxString_in_helper(_obj1
);
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 wxWindow_SetTitle(_arg0
,*_arg1
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) return NULL
;
5073 } Py_INCREF(Py_None
);
5074 _resultobj
= Py_None
;
5082 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5083 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
* _resultobj
;
5087 bool _arg1
= (bool ) TRUE
;
5088 PyObject
* _argo0
= 0;
5089 int tempbool1
= (int) TRUE
;
5090 char *_kwnames
[] = { "self","show", NULL
};
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5102 _arg1
= (bool ) tempbool1
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) return NULL
;
5109 } _resultobj
= Py_BuildValue("i",_result
);
5113 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
5114 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
* _resultobj
;
5118 PyObject
* _argo0
= 0;
5119 char *_kwnames
[] = { "self", NULL
};
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
5125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) return NULL
;
5137 } _resultobj
= Py_BuildValue("i",_result
);
5141 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
5142 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
* _resultobj
;
5146 PyObject
* _argo0
= 0;
5147 char *_kwnames
[] = { "self", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
5153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) return NULL
;
5165 } _resultobj
= Py_BuildValue("i",_result
);
5169 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
5170 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
* _resultobj
;
5173 PyObject
* _argo0
= 0;
5174 char *_kwnames
[] = { "self", NULL
};
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
5180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 wxWindow_UpdateWindowUI(_arg0
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) return NULL
;
5192 } Py_INCREF(Py_None
);
5193 _resultobj
= Py_None
;
5197 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
5198 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
* _resultobj
;
5202 PyObject
* _argo0
= 0;
5203 char *_kwnames
[] = { "self", NULL
};
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
5209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 _result
= (bool )wxWindow_Validate(_arg0
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) return NULL
;
5221 } _resultobj
= Py_BuildValue("i",_result
);
5225 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5226 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
* _resultobj
;
5231 PyObject
* _argo0
= 0;
5233 PyObject
* _obj1
= 0;
5234 char *_kwnames
[] = { "self","pt", NULL
};
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
5241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5249 if (! wxPoint_helper(_obj1
, &_arg1
))
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) return NULL
;
5258 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5259 _resultobj
= Py_BuildValue("s",_ptemp
);
5263 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5264 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5269 PyObject
* _argo0
= 0;
5271 PyObject
* _obj1
= 0;
5272 char *_kwnames
[] = { "self","sz", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5287 if (! wxSize_helper(_obj1
, &_arg1
))
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) return NULL
;
5296 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5297 _resultobj
= Py_BuildValue("s",_ptemp
);
5301 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5302 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
* _resultobj
;
5307 PyObject
* _argo0
= 0;
5309 PyObject
* _obj1
= 0;
5310 char *_kwnames
[] = { "self","pt", NULL
};
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
5317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5325 if (! wxPoint_helper(_obj1
, &_arg1
))
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) return NULL
;
5334 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5335 _resultobj
= Py_BuildValue("s",_ptemp
);
5339 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5340 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5345 PyObject
* _argo0
= 0;
5347 PyObject
* _obj1
= 0;
5348 char *_kwnames
[] = { "self","sz", NULL
};
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5363 if (! wxSize_helper(_obj1
, &_arg1
))
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) return NULL
;
5372 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5373 _resultobj
= Py_BuildValue("s",_ptemp
);
5377 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5378 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
* _resultobj
;
5382 PyObject
* _argo0
= 0;
5383 PyObject
* _obj1
= 0;
5384 char *_kwnames
[] = { "self","tip", NULL
};
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5397 _arg1
= wxString_in_helper(_obj1
);
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) return NULL
;
5407 } Py_INCREF(Py_None
);
5408 _resultobj
= Py_None
;
5416 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5417 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5421 PyObject
* _argo0
= 0;
5422 PyObject
* _argo1
= 0;
5423 char *_kwnames
[] = { "self","tooltip", NULL
};
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 wxWindow_SetToolTip(_arg0
,_arg1
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) return NULL
;
5448 } Py_INCREF(Py_None
);
5449 _resultobj
= Py_None
;
5453 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5454 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5456 wxToolTip
* _result
;
5458 PyObject
* _argo0
= 0;
5459 char *_kwnames
[] = { "self", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) return NULL
;
5477 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5481 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5482 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
* _resultobj
;
5486 bool _arg2
= (bool ) TRUE
;
5487 PyObject
* _argo0
= 0;
5488 PyObject
* _argo1
= 0;
5489 int tempbool2
= (int) TRUE
;
5490 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5509 _arg2
= (bool ) tempbool2
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) return NULL
;
5516 } Py_INCREF(Py_None
);
5517 _resultobj
= Py_None
;
5521 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5522 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
* _resultobj
;
5526 bool _arg2
= (bool ) TRUE
;
5527 PyObject
* _argo0
= 0;
5528 PyObject
* _argo1
= 0;
5529 int tempbool2
= (int) TRUE
;
5530 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizerAndFit",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5543 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5544 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5549 _arg2
= (bool ) tempbool2
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 wxWindow_SetSizerAndFit(_arg0
,_arg1
,_arg2
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) return NULL
;
5556 } Py_INCREF(Py_None
);
5557 _resultobj
= Py_None
;
5561 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5562 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
* _resultobj
;
5566 PyObject
* _argo0
= 0;
5567 char *_kwnames
[] = { "self", NULL
};
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) return NULL
;
5585 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5589 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5590 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
* _resultobj
;
5594 PyObject
* _argo0
= 0;
5595 PyObject
* _argo1
= 0;
5596 char *_kwnames
[] = { "self","sizer", NULL
};
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5609 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) return NULL
;
5621 } Py_INCREF(Py_None
);
5622 _resultobj
= Py_None
;
5626 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5627 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5631 PyObject
* _argo0
= 0;
5632 char *_kwnames
[] = { "self", NULL
};
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) return NULL
;
5650 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5654 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5655 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
* _resultobj
;
5657 wxValidator
* _result
;
5659 PyObject
* _argo0
= 0;
5660 char *_kwnames
[] = { "self", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) return NULL
;
5678 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5682 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5683 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5686 wxValidator
* _arg1
;
5687 PyObject
* _argo0
= 0;
5688 PyObject
* _argo1
= 0;
5689 char *_kwnames
[] = { "self","validator", NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5702 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 wxWindow_SetValidator(_arg0
,*_arg1
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) return NULL
;
5713 } Py_INCREF(Py_None
);
5714 _resultobj
= Py_None
;
5718 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5719 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
* _resultobj
;
5722 wxDropTarget
* _arg1
;
5723 PyObject
* _argo0
= 0;
5724 PyObject
* _argo1
= 0;
5725 char *_kwnames
[] = { "self","target", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5738 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5739 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 wxWindow_SetDropTarget(_arg0
,_arg1
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) return NULL
;
5750 } Py_INCREF(Py_None
);
5751 _resultobj
= Py_None
;
5755 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5756 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
* _resultobj
;
5758 wxDropTarget
* _result
;
5760 PyObject
* _argo0
= 0;
5761 char *_kwnames
[] = { "self", NULL
};
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) return NULL
;
5781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5782 _resultobj
= Py_BuildValue("s",_ptemp
);
5785 _resultobj
= Py_None
;
5790 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5791 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5795 PyObject
* _argo0
= 0;
5796 char *_kwnames
[] = { "self", NULL
};
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) return NULL
;
5815 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5816 _resultobj
= Py_BuildValue("s",_ptemp
);
5820 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5821 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
* _resultobj
;
5825 PyObject
* _argo0
= 0;
5826 char *_kwnames
[] = { "self", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) return NULL
;
5845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5846 _resultobj
= Py_BuildValue("s",_ptemp
);
5850 #define wxWindow_GetAdjustedBestSize(_swigobj) (_swigobj->GetAdjustedBestSize())
5851 static PyObject
*_wrap_wxWindow_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
* _resultobj
;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self", NULL
};
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAdjustedBestSize",_kwnames
,&_argo0
))
5863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAdjustedBestSize. Expected _wxWindow_p.");
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 _result
= new wxSize (wxWindow_GetAdjustedBestSize(_arg0
));
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) return NULL
;
5875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5876 _resultobj
= Py_BuildValue("s",_ptemp
);
5880 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5881 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
* _resultobj
;
5885 PyObject
* _argo0
= 0;
5886 PyObject
* _argo1
= 0;
5887 char *_kwnames
[] = { "self","caret", NULL
};
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 wxWindow_SetCaret(_arg0
,_arg1
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) return NULL
;
5912 } Py_INCREF(Py_None
);
5913 _resultobj
= Py_None
;
5917 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5918 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5922 PyObject
* _argo0
= 0;
5923 char *_kwnames
[] = { "self", NULL
};
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) return NULL
;
5943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5944 _resultobj
= Py_BuildValue("s",_ptemp
);
5947 _resultobj
= Py_None
;
5952 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5953 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5956 PyObject
* _argo0
= 0;
5957 char *_kwnames
[] = { "self", NULL
};
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxWindow_Freeze(_arg0
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) return NULL
;
5975 } Py_INCREF(Py_None
);
5976 _resultobj
= Py_None
;
5980 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5981 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
* _resultobj
;
5984 PyObject
* _argo0
= 0;
5985 char *_kwnames
[] = { "self", NULL
};
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 wxWindow_Thaw(_arg0
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) return NULL
;
6003 } Py_INCREF(Py_None
);
6004 _resultobj
= Py_None
;
6008 #define wxWindow_Update(_swigobj) (_swigobj->Update())
6009 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
* _resultobj
;
6012 PyObject
* _argo0
= 0;
6013 char *_kwnames
[] = { "self", NULL
};
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
6019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxWindow_Update(_arg0
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) return NULL
;
6031 } Py_INCREF(Py_None
);
6032 _resultobj
= Py_None
;
6036 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
6037 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
* _resultobj
;
6041 PyObject
* _argo0
= 0;
6042 char *_kwnames
[] = { "self", NULL
};
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
6048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) return NULL
;
6062 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6064 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6073 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
6074 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
* _resultobj
;
6078 PyObject
* _argo0
= 0;
6079 PyObject
* _obj1
= 0;
6080 char *_kwnames
[] = { "self","helpText", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
6093 _arg1
= wxString_in_helper(_obj1
);
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 wxWindow_SetHelpText(_arg0
,*_arg1
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) return NULL
;
6103 } Py_INCREF(Py_None
);
6104 _resultobj
= Py_None
;
6112 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6113 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
* _resultobj
;
6117 PyObject
* _argo0
= 0;
6118 PyObject
* _obj1
= 0;
6119 char *_kwnames
[] = { "self","text", NULL
};
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
6125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6132 _arg1
= wxString_in_helper(_obj1
);
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) return NULL
;
6142 } Py_INCREF(Py_None
);
6143 _resultobj
= Py_None
;
6151 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6152 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6157 PyObject
* _argo0
= 0;
6158 char *_kwnames
[] = { "self","lines", NULL
};
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
6164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) return NULL
;
6176 } _resultobj
= Py_BuildValue("i",_result
);
6180 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6181 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6186 PyObject
* _argo0
= 0;
6187 char *_kwnames
[] = { "self","pages", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) return NULL
;
6205 } _resultobj
= Py_BuildValue("i",_result
);
6209 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6210 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
* _resultobj
;
6214 PyObject
* _argo0
= 0;
6215 char *_kwnames
[] = { "self", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 _result
= (bool )wxWindow_LineUp(_arg0
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) return NULL
;
6233 } _resultobj
= Py_BuildValue("i",_result
);
6237 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6238 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
* _resultobj
;
6242 PyObject
* _argo0
= 0;
6243 char *_kwnames
[] = { "self", NULL
};
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
6249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 _result
= (bool )wxWindow_LineDown(_arg0
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) return NULL
;
6261 } _resultobj
= Py_BuildValue("i",_result
);
6265 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6266 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
* _resultobj
;
6270 PyObject
* _argo0
= 0;
6271 char *_kwnames
[] = { "self", NULL
};
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
6277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 _result
= (bool )wxWindow_PageUp(_arg0
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) return NULL
;
6289 } _resultobj
= Py_BuildValue("i",_result
);
6293 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6294 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
* _resultobj
;
6298 PyObject
* _argo0
= 0;
6299 char *_kwnames
[] = { "self", NULL
};
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
6305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 _result
= (bool )wxWindow_PageDown(_arg0
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) return NULL
;
6317 } _resultobj
= Py_BuildValue("i",_result
);
6321 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6324 char *_kwnames
[] = { NULL
};
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 _result
= (wxWindow
*)wxWindow::FindFocus();
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) return NULL
;
6335 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6339 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
* _resultobj
;
6342 char *_kwnames
[] = { NULL
};
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 _result
= (int )wxWindow::NewControlId();
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) return NULL
;
6353 } _resultobj
= Py_BuildValue("i",_result
);
6357 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
* _resultobj
;
6361 char *_kwnames
[] = { "id", NULL
};
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 _result
= (int )wxWindow::NextControlId(_arg0
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) return NULL
;
6372 } _resultobj
= Py_BuildValue("i",_result
);
6376 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
* _resultobj
;
6380 char *_kwnames
[] = { "id", NULL
};
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 _result
= (int )wxWindow::PrevControlId(_arg0
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) return NULL
;
6391 } _resultobj
= Py_BuildValue("i",_result
);
6395 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6396 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6399 wxAcceleratorTable
* _arg1
;
6400 PyObject
* _argo0
= 0;
6401 PyObject
* _argo1
= 0;
6402 char *_kwnames
[] = { "self","accel", NULL
};
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6415 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) return NULL
;
6426 } Py_INCREF(Py_None
);
6427 _resultobj
= Py_None
;
6431 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6432 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
* _resultobj
;
6434 wxAcceleratorTable
* _result
;
6436 PyObject
* _argo0
= 0;
6437 char *_kwnames
[] = { "self", NULL
};
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) return NULL
;
6457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6458 _resultobj
= Py_BuildValue("s",_ptemp
);
6461 _resultobj
= Py_None
;
6466 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6467 static PyObject
*_wrap_wxWindow_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
* _resultobj
;
6470 wxPaintEvent
* _arg1
;
6471 PyObject
* _argo0
= 0;
6472 PyObject
* _argo1
= 0;
6473 char *_kwnames
[] = { "self","event", NULL
};
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_OnPaint",_kwnames
,&_argo0
,&_argo1
))
6479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6486 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaintEvent_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 wxWindow_OnPaint(_arg0
,*_arg1
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) return NULL
;
6497 } Py_INCREF(Py_None
);
6498 _resultobj
= Py_None
;
6502 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6503 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6507 PyObject
* _argo0
= 0;
6508 char *_kwnames
[] = { "self", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) return NULL
;
6526 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6530 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6531 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
* _resultobj
;
6536 PyObject
* _argo0
= 0;
6537 PyObject
* _argo1
= 0;
6538 char *_kwnames
[] = { "self","btn", NULL
};
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) return NULL
;
6563 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6567 #define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6568 static PyObject
*_wrap_wxWindow_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6572 PyObject
* _argo0
= 0;
6573 PyObject
* _argo1
= 0;
6574 char *_kwnames
[] = { "self","win", NULL
};
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTmpDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 wxWindow_SetTmpDefaultItem(_arg0
,_arg1
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) return NULL
;
6599 } Py_INCREF(Py_None
);
6600 _resultobj
= Py_None
;
6604 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6605 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
* _resultobj
;
6610 PyObject
* _argo0
= 0;
6611 char *_kwnames
[] = { "self","x","y", NULL
};
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) return NULL
;
6629 } Py_INCREF(Py_None
);
6630 _resultobj
= Py_None
;
6634 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6635 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
* _resultobj
;
6638 PyObject
* _argo0
= 0;
6639 char *_kwnames
[] = { "self", NULL
};
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 wxWindow_CaptureMouse(_arg0
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) return NULL
;
6657 } Py_INCREF(Py_None
);
6658 _resultobj
= Py_None
;
6662 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6663 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6666 PyObject
* _argo0
= 0;
6667 char *_kwnames
[] = { "self", NULL
};
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
6673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 wxWindow_ReleaseMouse(_arg0
);
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) return NULL
;
6685 } Py_INCREF(Py_None
);
6686 _resultobj
= Py_None
;
6690 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
* _resultobj
;
6693 char *_kwnames
[] = { NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 _result
= (wxWindow
*)wxWindow::GetCapture();
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) return NULL
;
6704 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6708 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6709 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6713 PyObject
* _argo0
= 0;
6714 char *_kwnames
[] = { "self", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 _result
= (bool )wxWindow_HasCapture(_arg0
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) return NULL
;
6732 } _resultobj
= Py_BuildValue("i",_result
);
6736 static void *SwigwxPanelTowxWindow(void *ptr
) {
6739 src
= (wxPanel
*) ptr
;
6740 dest
= (wxWindow
*) src
;
6741 return (void *) dest
;
6744 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6747 src
= (wxPanel
*) ptr
;
6748 dest
= (wxEvtHandler
*) src
;
6749 return (void *) dest
;
6752 static void *SwigwxPanelTowxObject(void *ptr
) {
6755 src
= (wxPanel
*) ptr
;
6756 dest
= (wxObject
*) src
;
6757 return (void *) dest
;
6760 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6761 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6766 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6767 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6768 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6769 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6770 PyObject
* _argo0
= 0;
6772 PyObject
* _obj2
= 0;
6774 PyObject
* _obj3
= 0;
6775 PyObject
* _obj5
= 0;
6776 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6792 if (! wxPoint_helper(_obj2
, &_arg2
))
6798 if (! wxSize_helper(_obj3
, &_arg3
))
6803 _arg5
= wxString_in_helper(_obj5
);
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) return NULL
;
6814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6815 _resultobj
= Py_BuildValue("s",_ptemp
);
6818 _resultobj
= Py_None
;
6827 #define new_wxPrePanel() (new wxPanel())
6828 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
* _resultobj
;
6831 char *_kwnames
[] = { NULL
};
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 _result
= (wxPanel
*)new_wxPrePanel();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) return NULL
;
6844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6845 _resultobj
= Py_BuildValue("s",_ptemp
);
6848 _resultobj
= Py_None
;
6853 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6854 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
* _resultobj
;
6860 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6861 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6862 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6863 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6864 PyObject
* _argo0
= 0;
6865 PyObject
* _argo1
= 0;
6867 PyObject
* _obj3
= 0;
6869 PyObject
* _obj4
= 0;
6870 PyObject
* _obj6
= 0;
6871 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6893 if (! wxPoint_helper(_obj3
, &_arg3
))
6899 if (! wxSize_helper(_obj4
, &_arg4
))
6904 _arg6
= wxString_in_helper(_obj6
);
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) return NULL
;
6914 } _resultobj
= Py_BuildValue("i",_result
);
6922 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6923 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6926 PyObject
* _argo0
= 0;
6927 char *_kwnames
[] = { "self", NULL
};
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 wxPanel_InitDialog(_arg0
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) return NULL
;
6945 } Py_INCREF(Py_None
);
6946 _resultobj
= Py_None
;
6950 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6951 wxScrolledWindow
*src
;
6953 src
= (wxScrolledWindow
*) ptr
;
6954 dest
= (wxPanel
*) src
;
6955 return (void *) dest
;
6958 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6959 wxScrolledWindow
*src
;
6961 src
= (wxScrolledWindow
*) ptr
;
6962 dest
= (wxWindow
*) src
;
6963 return (void *) dest
;
6966 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6967 wxScrolledWindow
*src
;
6969 src
= (wxScrolledWindow
*) ptr
;
6970 dest
= (wxEvtHandler
*) src
;
6971 return (void *) dest
;
6974 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6975 wxScrolledWindow
*src
;
6977 src
= (wxScrolledWindow
*) ptr
;
6978 dest
= (wxObject
*) src
;
6979 return (void *) dest
;
6982 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6983 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
* _resultobj
;
6985 wxScrolledWindow
* _result
;
6987 wxWindowID _arg1
= (wxWindowID
) -1;
6988 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6989 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6990 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6991 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6992 PyObject
* _argo0
= 0;
6994 PyObject
* _obj2
= 0;
6996 PyObject
* _obj3
= 0;
6997 PyObject
* _obj5
= 0;
6998 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
7014 if (! wxPoint_helper(_obj2
, &_arg2
))
7020 if (! wxSize_helper(_obj3
, &_arg3
))
7025 _arg5
= wxString_in_helper(_obj5
);
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) return NULL
;
7036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
7037 _resultobj
= Py_BuildValue("s",_ptemp
);
7040 _resultobj
= Py_None
;
7049 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
7050 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
* _resultobj
;
7052 wxScrolledWindow
* _result
;
7053 char *_kwnames
[] = { NULL
};
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) return NULL
;
7066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
7067 _resultobj
= Py_BuildValue("s",_ptemp
);
7070 _resultobj
= Py_None
;
7075 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7076 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7079 wxScrolledWindow
* _arg0
;
7081 wxWindowID _arg2
= (wxWindowID
) -1;
7082 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7083 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7084 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
7085 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
7086 PyObject
* _argo0
= 0;
7087 PyObject
* _argo1
= 0;
7089 PyObject
* _obj3
= 0;
7091 PyObject
* _obj4
= 0;
7092 PyObject
* _obj6
= 0;
7093 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
7106 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7107 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
7115 if (! wxPoint_helper(_obj3
, &_arg3
))
7121 if (! wxSize_helper(_obj4
, &_arg4
))
7126 _arg6
= wxString_in_helper(_obj6
);
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) return NULL
;
7136 } _resultobj
= Py_BuildValue("i",_result
);
7144 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
7145 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7147 wxScrolledWindow
* _arg0
;
7150 PyObject
* _argo0
= 0;
7153 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7165 _arg1
= (bool ) tempbool1
;
7166 _arg2
= (bool ) tempbool2
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) return NULL
;
7173 } Py_INCREF(Py_None
);
7174 _resultobj
= Py_None
;
7178 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7179 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
* _resultobj
;
7182 wxScrolledWindow
* _arg0
;
7184 PyObject
* _argo0
= 0;
7185 char *_kwnames
[] = { "self","orient", NULL
};
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
7191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) return NULL
;
7203 } _resultobj
= Py_BuildValue("i",_result
);
7207 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
7208 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
* _resultobj
;
7210 wxScrolledWindow
* _arg0
;
7215 PyObject
* _argo0
= 0;
7216 char *_kwnames
[] = { "self", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) return NULL
;
7240 } Py_INCREF(Py_None
);
7241 _resultobj
= Py_None
;
7244 o
= PyInt_FromLong((long) (*_arg1
));
7245 _resultobj
= t_output_helper(_resultobj
, o
);
7249 o
= PyInt_FromLong((long) (*_arg2
));
7250 _resultobj
= t_output_helper(_resultobj
, o
);
7255 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7256 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
* _resultobj
;
7259 wxScrolledWindow
* _arg0
;
7260 PyObject
* _argo0
= 0;
7261 char *_kwnames
[] = { "self", NULL
};
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
7267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) return NULL
;
7279 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7283 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7284 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
* _resultobj
;
7287 wxScrolledWindow
* _arg0
;
7288 PyObject
* _argo0
= 0;
7289 char *_kwnames
[] = { "self", NULL
};
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
7295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) return NULL
;
7307 } _resultobj
= Py_BuildValue("i",_result
);
7311 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7312 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
* _resultobj
;
7314 wxScrolledWindow
* _arg0
;
7316 PyObject
* _argo0
= 0;
7317 PyObject
* _argo1
= 0;
7318 char *_kwnames
[] = { "self","dc", NULL
};
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
7324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7331 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) return NULL
;
7342 } Py_INCREF(Py_None
);
7343 _resultobj
= Py_None
;
7347 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7348 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
* _resultobj
;
7350 wxScrolledWindow
* _arg0
;
7353 PyObject
* _argo0
= 0;
7354 char *_kwnames
[] = { "self","x","y", NULL
};
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) return NULL
;
7372 } Py_INCREF(Py_None
);
7373 _resultobj
= Py_None
;
7377 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7378 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7380 wxScrolledWindow
* _arg0
;
7385 int _arg5
= (int ) 0;
7386 int _arg6
= (int ) 0;
7387 int _arg7
= (int ) FALSE
;
7388 PyObject
* _argo0
= 0;
7389 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) return NULL
;
7407 } Py_INCREF(Py_None
);
7408 _resultobj
= Py_None
;
7412 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7413 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
* _resultobj
;
7415 wxScrolledWindow
* _arg0
;
7418 PyObject
* _argo0
= 0;
7419 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) return NULL
;
7437 } Py_INCREF(Py_None
);
7438 _resultobj
= Py_None
;
7442 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7443 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7445 wxScrolledWindow
* _arg0
;
7447 PyObject
* _argo0
= 0;
7448 PyObject
* _argo1
= 0;
7449 char *_kwnames
[] = { "self","window", NULL
};
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) return NULL
;
7474 } Py_INCREF(Py_None
);
7475 _resultobj
= Py_None
;
7479 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7480 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
* _resultobj
;
7482 wxScrolledWindow
* _arg0
;
7487 PyObject
* _argo0
= 0;
7488 char *_kwnames
[] = { "self", NULL
};
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) return NULL
;
7512 } Py_INCREF(Py_None
);
7513 _resultobj
= Py_None
;
7516 o
= PyInt_FromLong((long) (*_arg1
));
7517 _resultobj
= t_output_helper(_resultobj
, o
);
7521 o
= PyInt_FromLong((long) (*_arg2
));
7522 _resultobj
= t_output_helper(_resultobj
, o
);
7527 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7528 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
* _resultobj
;
7531 wxScrolledWindow
* _arg0
;
7533 PyObject
* _argo0
= 0;
7535 PyObject
* _obj1
= 0;
7536 char *_kwnames
[] = { "self","pt", NULL
};
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7551 if (! wxPoint_helper(_obj1
, &_arg1
))
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) return NULL
;
7560 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7561 _resultobj
= Py_BuildValue("s",_ptemp
);
7565 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7566 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
* _resultobj
;
7568 wxScrolledWindow
* _arg0
;
7575 PyObject
* _argo0
= 0;
7576 char *_kwnames
[] = { "self","x","y", NULL
};
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) return NULL
;
7600 } Py_INCREF(Py_None
);
7601 _resultobj
= Py_None
;
7604 o
= PyInt_FromLong((long) (*_arg3
));
7605 _resultobj
= t_output_helper(_resultobj
, o
);
7609 o
= PyInt_FromLong((long) (*_arg4
));
7610 _resultobj
= t_output_helper(_resultobj
, o
);
7615 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7616 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7619 wxScrolledWindow
* _arg0
;
7621 PyObject
* _argo0
= 0;
7623 PyObject
* _obj1
= 0;
7624 char *_kwnames
[] = { "self","pt", NULL
};
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7639 if (! wxPoint_helper(_obj1
, &_arg1
))
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) return NULL
;
7648 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7649 _resultobj
= Py_BuildValue("s",_ptemp
);
7653 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7654 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7656 wxScrolledWindow
* _arg0
;
7663 PyObject
* _argo0
= 0;
7664 char *_kwnames
[] = { "self","x","y", NULL
};
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) return NULL
;
7688 } Py_INCREF(Py_None
);
7689 _resultobj
= Py_None
;
7692 o
= PyInt_FromLong((long) (*_arg3
));
7693 _resultobj
= t_output_helper(_resultobj
, o
);
7697 o
= PyInt_FromLong((long) (*_arg4
));
7698 _resultobj
= t_output_helper(_resultobj
, o
);
7703 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7704 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
* _resultobj
;
7706 wxScrolledWindow
* _arg0
;
7709 PyObject
* _argo0
= 0;
7710 char *_kwnames
[] = { "self","xs","ys", NULL
};
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) return NULL
;
7728 } Py_INCREF(Py_None
);
7729 _resultobj
= Py_None
;
7733 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7734 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
* _resultobj
;
7737 wxScrolledWindow
* _arg0
;
7738 PyObject
* _argo0
= 0;
7739 char *_kwnames
[] = { "self", NULL
};
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) return NULL
;
7757 } _resultobj
= Py_BuildValue("d",_result
);
7761 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7762 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
* _resultobj
;
7765 wxScrolledWindow
* _arg0
;
7766 PyObject
* _argo0
= 0;
7767 char *_kwnames
[] = { "self", NULL
};
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) return NULL
;
7785 } _resultobj
= Py_BuildValue("d",_result
);
7789 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7790 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
* _resultobj
;
7792 wxScrolledWindow
* _arg0
;
7793 PyObject
* _argo0
= 0;
7794 char *_kwnames
[] = { "self", NULL
};
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 wxScrolledWindow_AdjustScrollbars(_arg0
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) return NULL
;
7812 } Py_INCREF(Py_None
);
7813 _resultobj
= Py_None
;
7817 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7818 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
* _resultobj
;
7821 wxScrolledWindow
* _arg0
;
7822 PyObject
* _argo0
= 0;
7823 char *_kwnames
[] = { "self", NULL
};
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) return NULL
;
7841 } _resultobj
= Py_BuildValue("i",_result
);
7845 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7846 static PyObject
*_wrap_wxScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7848 wxScrolledWindow
* _arg0
;
7851 PyObject
* _argo0
= 0;
7852 char *_kwnames
[] = { "self","xstep","ystep", NULL
};
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollRate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 wxScrolledWindow_SetScrollRate(_arg0
,_arg1
,_arg2
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) return NULL
;
7870 } Py_INCREF(Py_None
);
7871 _resultobj
= Py_None
;
7875 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7878 src
= (wxMenu
*) ptr
;
7879 dest
= (wxEvtHandler
*) src
;
7880 return (void *) dest
;
7883 static void *SwigwxMenuTowxObject(void *ptr
) {
7886 src
= (wxMenu
*) ptr
;
7887 dest
= (wxObject
*) src
;
7888 return (void *) dest
;
7891 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7892 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
* _resultobj
;
7895 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7896 long _arg1
= (long ) 0;
7897 PyObject
* _obj0
= 0;
7898 char *_kwnames
[] = { "title","style", NULL
};
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7906 _arg0
= wxString_in_helper(_obj0
);
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) return NULL
;
7917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7918 _resultobj
= Py_BuildValue("s",_ptemp
);
7921 _resultobj
= Py_None
;
7930 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7931 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
* _resultobj
;
7936 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7937 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7938 PyObject
* _argo0
= 0;
7939 PyObject
* _obj2
= 0;
7940 PyObject
* _obj3
= 0;
7941 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7954 _arg2
= wxString_in_helper(_obj2
);
7960 _arg3
= wxString_in_helper(_obj3
);
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) return NULL
;
7970 } Py_INCREF(Py_None
);
7971 _resultobj
= Py_None
;
7983 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7984 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7990 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7991 PyObject
* _argo0
= 0;
7992 PyObject
* _obj2
= 0;
7993 PyObject
* _argo3
= 0;
7994 PyObject
* _obj4
= 0;
7995 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8008 _arg2
= wxString_in_helper(_obj2
);
8013 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8014 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8021 _arg4
= wxString_in_helper(_obj4
);
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) return NULL
;
8031 } Py_INCREF(Py_None
);
8032 _resultobj
= Py_None
;
8044 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
8045 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
* _resultobj
;
8049 PyObject
* _argo0
= 0;
8050 PyObject
* _argo1
= 0;
8051 char *_kwnames
[] = { "self","item", NULL
};
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
8057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
8064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 wxMenu_AppendItem(_arg0
,_arg1
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) return NULL
;
8076 } Py_INCREF(Py_None
);
8077 _resultobj
= Py_None
;
8081 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
8082 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8087 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8088 PyObject
* _argo0
= 0;
8089 PyObject
* _obj2
= 0;
8090 PyObject
* _obj3
= 0;
8091 char *_kwnames
[] = { "self","id","text","help", NULL
};
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
8104 _arg2
= wxString_in_helper(_obj2
);
8110 _arg3
= wxString_in_helper(_obj3
);
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) return NULL
;
8120 } Py_INCREF(Py_None
);
8121 _resultobj
= Py_None
;
8133 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
8134 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
* _resultobj
;
8139 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8140 PyObject
* _argo0
= 0;
8141 PyObject
* _obj2
= 0;
8142 PyObject
* _obj3
= 0;
8143 char *_kwnames
[] = { "self","id","text","help", NULL
};
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8156 _arg2
= wxString_in_helper(_obj2
);
8162 _arg3
= wxString_in_helper(_obj3
);
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) return NULL
;
8172 } Py_INCREF(Py_None
);
8173 _resultobj
= Py_None
;
8185 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8186 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
* _resultobj
;
8189 PyObject
* _argo0
= 0;
8190 char *_kwnames
[] = { "self", NULL
};
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
8196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 wxMenu_AppendSeparator(_arg0
);
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) return NULL
;
8208 } Py_INCREF(Py_None
);
8209 _resultobj
= Py_None
;
8213 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8214 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
* _resultobj
;
8220 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8221 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
8222 PyObject
* _argo0
= 0;
8223 PyObject
* _obj3
= 0;
8224 PyObject
* _obj4
= 0;
8225 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
8231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8238 _arg3
= wxString_in_helper(_obj3
);
8244 _arg4
= wxString_in_helper(_obj4
);
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) return NULL
;
8254 } Py_INCREF(Py_None
);
8255 _resultobj
= Py_None
;
8267 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8268 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
* _resultobj
;
8272 PyObject
* _argo0
= 0;
8273 char *_kwnames
[] = { "self","pos", NULL
};
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
8279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 wxMenu_InsertSeparator(_arg0
,_arg1
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) return NULL
;
8291 } Py_INCREF(Py_None
);
8292 _resultobj
= Py_None
;
8296 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8297 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
* _resultobj
;
8303 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8304 PyObject
* _argo0
= 0;
8305 PyObject
* _obj3
= 0;
8306 PyObject
* _obj4
= 0;
8307 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8320 _arg3
= wxString_in_helper(_obj3
);
8326 _arg4
= wxString_in_helper(_obj4
);
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) return NULL
;
8336 } Py_INCREF(Py_None
);
8337 _resultobj
= Py_None
;
8349 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8350 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
* _resultobj
;
8356 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8357 PyObject
* _argo0
= 0;
8358 PyObject
* _obj3
= 0;
8359 PyObject
* _obj4
= 0;
8360 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8373 _arg3
= wxString_in_helper(_obj3
);
8379 _arg4
= wxString_in_helper(_obj4
);
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) return NULL
;
8389 } Py_INCREF(Py_None
);
8390 _resultobj
= Py_None
;
8402 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8403 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
* _resultobj
;
8410 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
8411 PyObject
* _argo0
= 0;
8412 PyObject
* _obj3
= 0;
8413 PyObject
* _argo4
= 0;
8414 PyObject
* _obj5
= 0;
8415 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
8421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8428 _arg3
= wxString_in_helper(_obj3
);
8433 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8434 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
8435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8441 _arg5
= wxString_in_helper(_obj5
);
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) return NULL
;
8451 } Py_INCREF(Py_None
);
8452 _resultobj
= Py_None
;
8464 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8465 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
* _resultobj
;
8471 PyObject
* _argo0
= 0;
8472 PyObject
* _argo2
= 0;
8473 char *_kwnames
[] = { "self","pos","item", NULL
};
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8486 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8487 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) return NULL
;
8498 } _resultobj
= Py_BuildValue("i",_result
);
8502 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8503 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
* _resultobj
;
8508 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8509 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8510 PyObject
* _argo0
= 0;
8511 PyObject
* _obj2
= 0;
8512 PyObject
* _obj3
= 0;
8513 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8526 _arg2
= wxString_in_helper(_obj2
);
8532 _arg3
= wxString_in_helper(_obj3
);
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) return NULL
;
8542 } Py_INCREF(Py_None
);
8543 _resultobj
= Py_None
;
8555 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8556 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
* _resultobj
;
8559 PyObject
* _argo0
= 0;
8560 char *_kwnames
[] = { "self", NULL
};
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 wxMenu_PrependSeparator(_arg0
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) return NULL
;
8578 } Py_INCREF(Py_None
);
8579 _resultobj
= Py_None
;
8583 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8584 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
* _resultobj
;
8589 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8590 PyObject
* _argo0
= 0;
8591 PyObject
* _obj2
= 0;
8592 PyObject
* _obj3
= 0;
8593 char *_kwnames
[] = { "self","id","text","help", NULL
};
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8606 _arg2
= wxString_in_helper(_obj2
);
8612 _arg3
= wxString_in_helper(_obj3
);
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) return NULL
;
8622 } Py_INCREF(Py_None
);
8623 _resultobj
= Py_None
;
8635 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8636 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
* _resultobj
;
8641 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8642 PyObject
* _argo0
= 0;
8643 PyObject
* _obj2
= 0;
8644 PyObject
* _obj3
= 0;
8645 char *_kwnames
[] = { "self","id","text","help", NULL
};
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8658 _arg2
= wxString_in_helper(_obj2
);
8664 _arg3
= wxString_in_helper(_obj3
);
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) return NULL
;
8674 } Py_INCREF(Py_None
);
8675 _resultobj
= Py_None
;
8687 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8688 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
* _resultobj
;
8694 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8695 PyObject
* _argo0
= 0;
8696 PyObject
* _obj2
= 0;
8697 PyObject
* _argo3
= 0;
8698 PyObject
* _obj4
= 0;
8699 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8712 _arg2
= wxString_in_helper(_obj2
);
8717 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8718 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8725 _arg4
= wxString_in_helper(_obj4
);
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) return NULL
;
8735 } Py_INCREF(Py_None
);
8736 _resultobj
= Py_None
;
8748 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8749 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
* _resultobj
;
8753 PyObject
* _argo0
= 0;
8754 PyObject
* _argo1
= 0;
8755 char *_kwnames
[] = { "self","item", NULL
};
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 wxMenu_PrependItem(_arg0
,_arg1
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) return NULL
;
8780 } Py_INCREF(Py_None
);
8781 _resultobj
= Py_None
;
8785 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8786 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
* _resultobj
;
8789 PyObject
* _argo0
= 0;
8790 char *_kwnames
[] = { "self", NULL
};
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 wxMenu_Break(_arg0
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) return NULL
;
8808 } Py_INCREF(Py_None
);
8809 _resultobj
= Py_None
;
8813 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8814 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
* _resultobj
;
8819 PyObject
* _argo0
= 0;
8821 char *_kwnames
[] = { "self","id","flag", NULL
};
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8833 _arg2
= (bool ) tempbool2
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) return NULL
;
8840 } Py_INCREF(Py_None
);
8841 _resultobj
= Py_None
;
8845 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8846 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
* _resultobj
;
8851 PyObject
* _argo0
= 0;
8852 char *_kwnames
[] = { "self","id", NULL
};
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) return NULL
;
8870 } _resultobj
= Py_BuildValue("i",_result
);
8874 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8875 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
* _resultobj
;
8880 PyObject
* _argo0
= 0;
8882 char *_kwnames
[] = { "self","id","enable", NULL
};
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8894 _arg2
= (bool ) tempbool2
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) return NULL
;
8901 } Py_INCREF(Py_None
);
8902 _resultobj
= Py_None
;
8906 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8907 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
* _resultobj
;
8912 PyObject
* _argo0
= 0;
8913 char *_kwnames
[] = { "self","id", NULL
};
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) return NULL
;
8931 } _resultobj
= Py_BuildValue("i",_result
);
8935 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8936 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
* _resultobj
;
8941 PyObject
* _argo0
= 0;
8942 PyObject
* _obj1
= 0;
8943 char *_kwnames
[] = { "self","itemString", NULL
};
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8956 _arg1
= wxString_in_helper(_obj1
);
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) return NULL
;
8966 } _resultobj
= Py_BuildValue("i",_result
);
8974 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8975 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8977 wxMenuItem
* _result
;
8980 PyObject
* _argo0
= 0;
8981 char *_kwnames
[] = { "self","id", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) return NULL
;
8999 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9003 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
9004 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
* _resultobj
;
9008 PyObject
* _argo0
= 0;
9009 char *_kwnames
[] = { "self", NULL
};
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
9015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 _result
= new wxString (wxMenu_GetTitle(_arg0
));
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) return NULL
;
9029 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9031 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9040 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
9041 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
* _resultobj
;
9045 PyObject
* _argo0
= 0;
9046 PyObject
* _obj1
= 0;
9047 char *_kwnames
[] = { "self","title", NULL
};
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
9053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
9060 _arg1
= wxString_in_helper(_obj1
);
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 wxMenu_SetTitle(_arg0
,*_arg1
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) return NULL
;
9070 } Py_INCREF(Py_None
);
9071 _resultobj
= Py_None
;
9079 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9080 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
* _resultobj
;
9085 PyObject
* _argo0
= 0;
9086 char *_kwnames
[] = { "self","id", NULL
};
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) return NULL
;
9106 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9108 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9117 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9118 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
* _resultobj
;
9123 PyObject
* _argo0
= 0;
9124 PyObject
* _obj2
= 0;
9125 char *_kwnames
[] = { "self","id","label", NULL
};
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
9138 _arg2
= wxString_in_helper(_obj2
);
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) return NULL
;
9148 } Py_INCREF(Py_None
);
9149 _resultobj
= Py_None
;
9157 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9158 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
* _resultobj
;
9163 PyObject
* _argo0
= 0;
9164 char *_kwnames
[] = { "self","id", NULL
};
9167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) return NULL
;
9184 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9186 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9195 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9196 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9201 PyObject
* _argo0
= 0;
9202 PyObject
* _obj2
= 0;
9203 char *_kwnames
[] = { "self","id","helpString", NULL
};
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9216 _arg2
= wxString_in_helper(_obj2
);
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) return NULL
;
9226 } Py_INCREF(Py_None
);
9227 _resultobj
= Py_None
;
9235 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9236 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
* _resultobj
;
9239 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
9240 PyObject
* _argo0
= 0;
9241 PyObject
* _argo1
= 0;
9242 char *_kwnames
[] = { "self","source", NULL
};
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
9248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9255 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9256 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 wxMenu_UpdateUI(_arg0
,_arg1
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) return NULL
;
9267 } Py_INCREF(Py_None
);
9268 _resultobj
= Py_None
;
9272 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9273 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
* _resultobj
;
9278 PyObject
* _argo0
= 0;
9279 char *_kwnames
[] = { "self","id", NULL
};
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
9285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) return NULL
;
9297 } _resultobj
= Py_BuildValue("i",_result
);
9301 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9302 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
* _resultobj
;
9307 PyObject
* _argo0
= 0;
9308 PyObject
* _argo1
= 0;
9309 char *_kwnames
[] = { "self","item", NULL
};
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
9315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) return NULL
;
9334 } _resultobj
= Py_BuildValue("i",_result
);
9338 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9339 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
* _resultobj
;
9341 wxMenuItem
* _result
;
9344 PyObject
* _argo0
= 0;
9345 char *_kwnames
[] = { "self","id", NULL
};
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
9351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) return NULL
;
9363 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9367 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9368 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
* _resultobj
;
9370 wxMenuItem
* _result
;
9373 PyObject
* _argo0
= 0;
9374 PyObject
* _argo1
= 0;
9375 char *_kwnames
[] = { "self","item", NULL
};
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
9381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) return NULL
;
9400 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9404 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
9405 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
* _resultobj
;
9408 PyObject
* _argo0
= 0;
9409 char *_kwnames
[] = { "self", NULL
};
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
9415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 wxMenu_Destroy(_arg0
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) return NULL
;
9427 } Py_INCREF(Py_None
);
9428 _resultobj
= Py_None
;
9432 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9433 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
* _resultobj
;
9438 PyObject
* _argo0
= 0;
9439 char *_kwnames
[] = { "self","id", NULL
};
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
9445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) return NULL
;
9457 } _resultobj
= Py_BuildValue("i",_result
);
9461 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9462 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
* _resultobj
;
9467 PyObject
* _argo0
= 0;
9468 PyObject
* _argo1
= 0;
9469 char *_kwnames
[] = { "self","item", NULL
};
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
9475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9482 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9483 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) return NULL
;
9494 } _resultobj
= Py_BuildValue("i",_result
);
9498 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9499 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
* _resultobj
;
9503 PyObject
* _argo0
= 0;
9504 char *_kwnames
[] = { "self", NULL
};
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) return NULL
;
9522 } _resultobj
= Py_BuildValue("i",_result
);
9526 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9527 wxMenuItemList
& list
= self
->GetMenuItems();
9528 return wxPy_ConvertList(&list
, "wxMenuItem");
9530 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
* _resultobj
;
9534 PyObject
* _argo0
= 0;
9535 char *_kwnames
[] = { "self", NULL
};
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) return NULL
;
9554 _resultobj
= _result
;
9559 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9560 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
* _resultobj
;
9563 wxEvtHandler
* _arg1
;
9564 PyObject
* _argo0
= 0;
9565 PyObject
* _argo1
= 0;
9566 char *_kwnames
[] = { "self","handler", NULL
};
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 wxMenu_SetEventHandler(_arg0
,_arg1
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) return NULL
;
9591 } Py_INCREF(Py_None
);
9592 _resultobj
= Py_None
;
9596 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9597 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
* _resultobj
;
9599 wxEvtHandler
* _result
;
9601 PyObject
* _argo0
= 0;
9602 char *_kwnames
[] = { "self", NULL
};
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) return NULL
;
9620 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9624 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9625 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
* _resultobj
;
9629 PyObject
* _argo0
= 0;
9630 PyObject
* _argo1
= 0;
9631 char *_kwnames
[] = { "self","win", NULL
};
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) return NULL
;
9656 } Py_INCREF(Py_None
);
9657 _resultobj
= Py_None
;
9661 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9662 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
* _resultobj
;
9666 PyObject
* _argo0
= 0;
9667 char *_kwnames
[] = { "self", NULL
};
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) return NULL
;
9685 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9689 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9690 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
* _resultobj
;
9694 PyObject
* _argo0
= 0;
9695 char *_kwnames
[] = { "self", NULL
};
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 _result
= (long )wxMenu_GetStyle(_arg0
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) return NULL
;
9713 } _resultobj
= Py_BuildValue("l",_result
);
9717 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9718 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
* _resultobj
;
9722 PyObject
* _argo0
= 0;
9723 char *_kwnames
[] = { "self", NULL
};
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 _result
= (bool )wxMenu_IsAttached(_arg0
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) return NULL
;
9741 } _resultobj
= Py_BuildValue("i",_result
);
9745 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9746 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
* _resultobj
;
9750 PyObject
* _argo0
= 0;
9751 PyObject
* _argo1
= 0;
9752 char *_kwnames
[] = { "self","parent", NULL
};
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 wxMenu_SetParent(_arg0
,_arg1
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) return NULL
;
9777 } Py_INCREF(Py_None
);
9778 _resultobj
= Py_None
;
9782 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9783 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
* _resultobj
;
9787 PyObject
* _argo0
= 0;
9788 char *_kwnames
[] = { "self", NULL
};
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) return NULL
;
9806 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9810 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9813 src
= (wxMenuBar
*) ptr
;
9814 dest
= (wxWindow
*) src
;
9815 return (void *) dest
;
9818 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9821 src
= (wxMenuBar
*) ptr
;
9822 dest
= (wxEvtHandler
*) src
;
9823 return (void *) dest
;
9826 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9829 src
= (wxMenuBar
*) ptr
;
9830 dest
= (wxObject
*) src
;
9831 return (void *) dest
;
9834 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9835 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
* _resultobj
;
9837 wxMenuBar
* _result
;
9838 long _arg0
= (long ) 0;
9839 char *_kwnames
[] = { "style", NULL
};
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) return NULL
;
9852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9853 _resultobj
= Py_BuildValue("s",_ptemp
);
9856 _resultobj
= Py_None
;
9861 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9862 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
* _resultobj
;
9868 PyObject
* _argo0
= 0;
9869 PyObject
* _argo1
= 0;
9870 PyObject
* _obj2
= 0;
9871 char *_kwnames
[] = { "self","menu","title", NULL
};
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9891 _arg2
= wxString_in_helper(_obj2
);
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) return NULL
;
9901 } _resultobj
= Py_BuildValue("i",_result
);
9909 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9910 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
* _resultobj
;
9917 PyObject
* _argo0
= 0;
9918 PyObject
* _argo2
= 0;
9919 PyObject
* _obj3
= 0;
9920 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9933 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9934 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9940 _arg3
= wxString_in_helper(_obj3
);
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) return NULL
;
9950 } _resultobj
= Py_BuildValue("i",_result
);
9958 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9959 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
* _resultobj
;
9963 PyObject
* _argo0
= 0;
9964 char *_kwnames
[] = { "self", NULL
};
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) return NULL
;
9982 } _resultobj
= Py_BuildValue("i",_result
);
9986 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9987 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
* _resultobj
;
9992 PyObject
* _argo0
= 0;
9993 char *_kwnames
[] = { "self","pos", NULL
};
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) return NULL
;
10011 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10015 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
10016 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
* _resultobj
;
10023 PyObject
* _argo0
= 0;
10024 PyObject
* _argo2
= 0;
10025 PyObject
* _obj3
= 0;
10026 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
10032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
10039 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10040 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
10041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
10046 _arg3
= wxString_in_helper(_obj3
);
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) return NULL
;
10056 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10064 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10065 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
* _resultobj
;
10070 PyObject
* _argo0
= 0;
10071 char *_kwnames
[] = { "self","pos", NULL
};
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
10077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) return NULL
;
10089 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10093 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
10094 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
* _resultobj
;
10099 PyObject
* _argo0
= 0;
10101 char *_kwnames
[] = { "self","pos","enable", NULL
};
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
10113 _arg2
= (bool ) tempbool2
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) return NULL
;
10120 } Py_INCREF(Py_None
);
10121 _resultobj
= Py_None
;
10125 #define wxMenuBar_IsEnabledTop(_swigobj,_swigarg0) (_swigobj->IsEnabledTop(_swigarg0))
10126 static PyObject
*_wrap_wxMenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
* _resultobj
;
10131 PyObject
* _argo0
= 0;
10132 char *_kwnames
[] = { "self","pos", NULL
};
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabledTop",_kwnames
,&_argo0
,&_arg1
))
10138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabledTop. Expected _wxMenuBar_p.");
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 _result
= (bool )wxMenuBar_IsEnabledTop(_arg0
,_arg1
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) return NULL
;
10150 } _resultobj
= Py_BuildValue("i",_result
);
10154 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
10155 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
* _resultobj
;
10160 PyObject
* _argo0
= 0;
10161 PyObject
* _obj2
= 0;
10162 char *_kwnames
[] = { "self","pos","label", NULL
};
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
10175 _arg2
= wxString_in_helper(_obj2
);
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) return NULL
;
10185 } Py_INCREF(Py_None
);
10186 _resultobj
= Py_None
;
10194 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10195 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
* _resultobj
;
10197 wxString
* _result
;
10200 PyObject
* _argo0
= 0;
10201 char *_kwnames
[] = { "self","pos", NULL
};
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
10207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) return NULL
;
10221 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10223 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10232 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10233 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
* _resultobj
;
10238 PyObject
* _argo0
= 0;
10239 PyObject
* _obj1
= 0;
10240 char *_kwnames
[] = { "self","title", NULL
};
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
10246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10253 _arg1
= wxString_in_helper(_obj1
);
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) return NULL
;
10263 } _resultobj
= Py_BuildValue("i",_result
);
10271 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10272 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
* _resultobj
;
10278 PyObject
* _argo0
= 0;
10279 PyObject
* _obj1
= 0;
10280 PyObject
* _obj2
= 0;
10281 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10294 _arg1
= wxString_in_helper(_obj1
);
10299 _arg2
= wxString_in_helper(_obj2
);
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) return NULL
;
10309 } _resultobj
= Py_BuildValue("i",_result
);
10321 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10322 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
* _resultobj
;
10324 wxMenuItem
* _result
;
10327 PyObject
* _argo0
= 0;
10328 char *_kwnames
[] = { "self","id", NULL
};
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
10334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) return NULL
;
10346 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10350 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10351 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
* _resultobj
;
10356 PyObject
* _argo0
= 0;
10358 char *_kwnames
[] = { "self","id","enable", NULL
};
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10370 _arg2
= (bool ) tempbool2
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) return NULL
;
10377 } Py_INCREF(Py_None
);
10378 _resultobj
= Py_None
;
10382 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10383 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
* _resultobj
;
10388 PyObject
* _argo0
= 0;
10390 char *_kwnames
[] = { "self","id","check", NULL
};
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10402 _arg2
= (bool ) tempbool2
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) return NULL
;
10409 } Py_INCREF(Py_None
);
10410 _resultobj
= Py_None
;
10414 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10415 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
* _resultobj
;
10420 PyObject
* _argo0
= 0;
10421 char *_kwnames
[] = { "self","id", NULL
};
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
10427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) return NULL
;
10439 } _resultobj
= Py_BuildValue("i",_result
);
10443 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10444 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
* _resultobj
;
10449 PyObject
* _argo0
= 0;
10450 char *_kwnames
[] = { "self","id", NULL
};
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
10456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) return NULL
;
10468 } _resultobj
= Py_BuildValue("i",_result
);
10472 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10473 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
* _resultobj
;
10478 PyObject
* _argo0
= 0;
10479 PyObject
* _obj2
= 0;
10480 char *_kwnames
[] = { "self","id","label", NULL
};
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10493 _arg2
= wxString_in_helper(_obj2
);
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) return NULL
;
10503 } Py_INCREF(Py_None
);
10504 _resultobj
= Py_None
;
10512 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10513 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
* _resultobj
;
10515 wxString
* _result
;
10518 PyObject
* _argo0
= 0;
10519 char *_kwnames
[] = { "self","id", NULL
};
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
10525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) return NULL
;
10539 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10541 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10550 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10551 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
* _resultobj
;
10556 PyObject
* _argo0
= 0;
10557 PyObject
* _obj2
= 0;
10558 char *_kwnames
[] = { "self","id","helpString", NULL
};
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10571 _arg2
= wxString_in_helper(_obj2
);
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) return NULL
;
10581 } Py_INCREF(Py_None
);
10582 _resultobj
= Py_None
;
10590 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10591 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
* _resultobj
;
10593 wxString
* _result
;
10596 PyObject
* _argo0
= 0;
10597 char *_kwnames
[] = { "self","id", NULL
};
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) return NULL
;
10617 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10619 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10628 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10631 src
= (wxMenuItem
*) ptr
;
10632 dest
= (wxObject
*) src
;
10633 return (void *) dest
;
10636 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10637 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
* _resultobj
;
10639 wxMenuItem
* _result
;
10640 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10641 int _arg1
= (int ) wxID_SEPARATOR
;
10642 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10643 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10644 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10645 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10646 PyObject
* _argo0
= 0;
10647 PyObject
* _obj2
= 0;
10648 PyObject
* _obj3
= 0;
10649 PyObject
* _argo5
= 0;
10650 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10665 _arg2
= wxString_in_helper(_obj2
);
10671 _arg3
= wxString_in_helper(_obj3
);
10676 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10677 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) return NULL
;
10689 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10690 _resultobj
= Py_BuildValue("s",_ptemp
);
10692 Py_INCREF(Py_None
);
10693 _resultobj
= Py_None
;
10706 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10707 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
* _resultobj
;
10710 wxMenuItem
* _arg0
;
10711 PyObject
* _argo0
= 0;
10712 char *_kwnames
[] = { "self", NULL
};
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) return NULL
;
10730 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10734 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10735 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
* _resultobj
;
10737 wxMenuItem
* _arg0
;
10739 PyObject
* _argo0
= 0;
10740 char *_kwnames
[] = { "self","id", NULL
};
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 wxMenuItem_SetId(_arg0
,_arg1
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) return NULL
;
10758 } Py_INCREF(Py_None
);
10759 _resultobj
= Py_None
;
10763 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10764 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
* _resultobj
;
10767 wxMenuItem
* _arg0
;
10768 PyObject
* _argo0
= 0;
10769 char *_kwnames
[] = { "self", NULL
};
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 _result
= (int )wxMenuItem_GetId(_arg0
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) return NULL
;
10787 } _resultobj
= Py_BuildValue("i",_result
);
10791 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10792 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
* _resultobj
;
10795 wxMenuItem
* _arg0
;
10796 PyObject
* _argo0
= 0;
10797 char *_kwnames
[] = { "self", NULL
};
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) return NULL
;
10815 } _resultobj
= Py_BuildValue("i",_result
);
10819 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10820 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
* _resultobj
;
10822 wxMenuItem
* _arg0
;
10824 PyObject
* _argo0
= 0;
10825 PyObject
* _obj1
= 0;
10826 char *_kwnames
[] = { "self","str", NULL
};
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10839 _arg1
= wxString_in_helper(_obj1
);
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 wxMenuItem_SetText(_arg0
,*_arg1
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) return NULL
;
10849 } Py_INCREF(Py_None
);
10850 _resultobj
= Py_None
;
10858 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10859 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
* _resultobj
;
10861 wxString
* _result
;
10862 wxMenuItem
* _arg0
;
10863 PyObject
* _argo0
= 0;
10864 char *_kwnames
[] = { "self", NULL
};
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) return NULL
;
10884 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10886 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10895 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10896 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
* _resultobj
;
10898 wxString
* _result
;
10899 wxMenuItem
* _arg0
;
10900 PyObject
* _argo0
= 0;
10901 char *_kwnames
[] = { "self", NULL
};
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10916 _result
= (wxString
*) &_result_ref
;
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) return NULL
;
10922 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10924 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10930 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10931 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
* _resultobj
;
10933 wxItemKind _result
;
10934 wxMenuItem
* _arg0
;
10935 PyObject
* _argo0
= 0;
10936 char *_kwnames
[] = { "self", NULL
};
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) return NULL
;
10954 } _resultobj
= Py_BuildValue("i",_result
);
10958 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10959 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
* _resultobj
;
10961 wxMenuItem
* _arg0
;
10963 PyObject
* _argo0
= 0;
10965 char *_kwnames
[] = { "self","checkable", NULL
};
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10977 _arg1
= (bool ) tempbool1
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) return NULL
;
10984 } Py_INCREF(Py_None
);
10985 _resultobj
= Py_None
;
10989 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10990 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
* _resultobj
;
10993 wxMenuItem
* _arg0
;
10994 PyObject
* _argo0
= 0;
10995 char *_kwnames
[] = { "self", NULL
};
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
11001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) return NULL
;
11013 } _resultobj
= Py_BuildValue("i",_result
);
11017 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
11018 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
* _resultobj
;
11021 wxMenuItem
* _arg0
;
11022 PyObject
* _argo0
= 0;
11023 char *_kwnames
[] = { "self", NULL
};
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
11029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) return NULL
;
11041 } _resultobj
= Py_BuildValue("i",_result
);
11045 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
11046 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
* _resultobj
;
11048 wxMenuItem
* _arg0
;
11050 PyObject
* _argo0
= 0;
11051 PyObject
* _argo1
= 0;
11052 char *_kwnames
[] = { "self","menu", NULL
};
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
11058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
11065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
11067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) return NULL
;
11077 } Py_INCREF(Py_None
);
11078 _resultobj
= Py_None
;
11082 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
11083 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
* _resultobj
;
11086 wxMenuItem
* _arg0
;
11087 PyObject
* _argo0
= 0;
11088 char *_kwnames
[] = { "self", NULL
};
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
11094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) return NULL
;
11106 }{ _resultobj
= wxPyMake_wxObject(_result
); }
11110 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
11111 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
* _resultobj
;
11113 wxMenuItem
* _arg0
;
11114 bool _arg1
= (bool ) TRUE
;
11115 PyObject
* _argo0
= 0;
11116 int tempbool1
= (int) TRUE
;
11117 char *_kwnames
[] = { "self","enable", NULL
};
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
11123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
11129 _arg1
= (bool ) tempbool1
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 wxMenuItem_Enable(_arg0
,_arg1
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) return NULL
;
11136 } Py_INCREF(Py_None
);
11137 _resultobj
= Py_None
;
11141 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
11142 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
* _resultobj
;
11145 wxMenuItem
* _arg0
;
11146 PyObject
* _argo0
= 0;
11147 char *_kwnames
[] = { "self", NULL
};
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
11153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) return NULL
;
11165 } _resultobj
= Py_BuildValue("i",_result
);
11169 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
11170 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
* _resultobj
;
11172 wxMenuItem
* _arg0
;
11173 bool _arg1
= (bool ) TRUE
;
11174 PyObject
* _argo0
= 0;
11175 int tempbool1
= (int) TRUE
;
11176 char *_kwnames
[] = { "self","check", NULL
};
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
11182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
11188 _arg1
= (bool ) tempbool1
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 wxMenuItem_Check(_arg0
,_arg1
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) return NULL
;
11195 } Py_INCREF(Py_None
);
11196 _resultobj
= Py_None
;
11200 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11201 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
* _resultobj
;
11204 wxMenuItem
* _arg0
;
11205 PyObject
* _argo0
= 0;
11206 char *_kwnames
[] = { "self", NULL
};
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
11212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) return NULL
;
11224 } _resultobj
= Py_BuildValue("i",_result
);
11228 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11229 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
* _resultobj
;
11231 wxMenuItem
* _arg0
;
11232 PyObject
* _argo0
= 0;
11233 char *_kwnames
[] = { "self", NULL
};
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
11239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 wxMenuItem_Toggle(_arg0
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) return NULL
;
11251 } Py_INCREF(Py_None
);
11252 _resultobj
= Py_None
;
11256 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11257 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
* _resultobj
;
11259 wxMenuItem
* _arg0
;
11261 PyObject
* _argo0
= 0;
11262 PyObject
* _obj1
= 0;
11263 char *_kwnames
[] = { "self","str", NULL
};
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
11269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
11276 _arg1
= wxString_in_helper(_obj1
);
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 wxMenuItem_SetHelp(_arg0
,*_arg1
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) return NULL
;
11286 } Py_INCREF(Py_None
);
11287 _resultobj
= Py_None
;
11295 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11296 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
* _resultobj
;
11298 wxString
* _result
;
11299 wxMenuItem
* _arg0
;
11300 PyObject
* _argo0
= 0;
11301 char *_kwnames
[] = { "self", NULL
};
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
11307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
11316 _result
= (wxString
*) &_result_ref
;
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) return NULL
;
11322 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11324 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11330 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11331 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
* _resultobj
;
11333 wxAcceleratorEntry
* _result
;
11334 wxMenuItem
* _arg0
;
11335 PyObject
* _argo0
= 0;
11336 char *_kwnames
[] = { "self", NULL
};
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
11343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) return NULL
;
11356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
11357 _resultobj
= Py_BuildValue("s",_ptemp
);
11359 Py_INCREF(Py_None
);
11360 _resultobj
= Py_None
;
11365 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11366 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
* _resultobj
;
11368 wxMenuItem
* _arg0
;
11369 wxAcceleratorEntry
* _arg1
;
11370 PyObject
* _argo0
= 0;
11371 PyObject
* _argo1
= 0;
11372 char *_kwnames
[] = { "self","accel", NULL
};
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
11378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
11387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 wxMenuItem_SetAccel(_arg0
,_arg1
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) return NULL
;
11397 } Py_INCREF(Py_None
);
11398 _resultobj
= Py_None
;
11402 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
* _resultobj
;
11404 wxString
* _result
;
11406 PyObject
* _obj0
= 0;
11407 char *_kwnames
[] = { "text", NULL
};
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
11413 _arg0
= wxString_in_helper(_obj0
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) return NULL
;
11425 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11427 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11440 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
11441 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
* _resultobj
;
11443 wxMenuItem
* _arg0
;
11445 PyObject
* _argo0
= 0;
11446 PyObject
* _argo1
= 0;
11447 char *_kwnames
[] = { "self","font", NULL
};
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
11453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
11460 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 wxMenuItem_SetFont(_arg0
,*_arg1
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) return NULL
;
11471 } Py_INCREF(Py_None
);
11472 _resultobj
= Py_None
;
11476 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
11477 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
* _resultobj
;
11480 wxMenuItem
* _arg0
;
11481 PyObject
* _argo0
= 0;
11482 char *_kwnames
[] = { "self", NULL
};
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
11489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 _result
= new wxFont (wxMenuItem_GetFont(_arg0
));
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) return NULL
;
11501 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11502 _resultobj
= Py_BuildValue("s",_ptemp
);
11506 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
11507 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
* _resultobj
;
11509 wxMenuItem
* _arg0
;
11511 PyObject
* _argo0
= 0;
11513 PyObject
* _obj1
= 0;
11514 char *_kwnames
[] = { "self","colText", NULL
};
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
11520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
11528 if (! wxColour_helper(_obj1
, &_arg1
))
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) return NULL
;
11537 } Py_INCREF(Py_None
);
11538 _resultobj
= Py_None
;
11542 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11543 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
* _resultobj
;
11545 wxColour
* _result
;
11546 wxMenuItem
* _arg0
;
11547 PyObject
* _argo0
= 0;
11548 char *_kwnames
[] = { "self", NULL
};
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
11555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) return NULL
;
11567 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11568 _resultobj
= Py_BuildValue("s",_ptemp
);
11572 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11573 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
* _resultobj
;
11575 wxMenuItem
* _arg0
;
11577 PyObject
* _argo0
= 0;
11579 PyObject
* _obj1
= 0;
11580 char *_kwnames
[] = { "self","colBack", NULL
};
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11594 if (! wxColour_helper(_obj1
, &_arg1
))
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) return NULL
;
11603 } Py_INCREF(Py_None
);
11604 _resultobj
= Py_None
;
11608 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11609 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
* _resultobj
;
11611 wxColour
* _result
;
11612 wxMenuItem
* _arg0
;
11613 PyObject
* _argo0
= 0;
11614 char *_kwnames
[] = { "self", NULL
};
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
11621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) return NULL
;
11633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11634 _resultobj
= Py_BuildValue("s",_ptemp
);
11638 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11639 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
* _resultobj
;
11641 wxMenuItem
* _arg0
;
11643 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11644 PyObject
* _argo0
= 0;
11645 PyObject
* _argo1
= 0;
11646 PyObject
* _argo2
= 0;
11647 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11660 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11666 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) return NULL
;
11677 } Py_INCREF(Py_None
);
11678 _resultobj
= Py_None
;
11682 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11683 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
* _resultobj
;
11685 wxMenuItem
* _arg0
;
11687 PyObject
* _argo0
= 0;
11688 char *_kwnames
[] = { "self","nWidth", NULL
};
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
11694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) return NULL
;
11706 } Py_INCREF(Py_None
);
11707 _resultobj
= Py_None
;
11711 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11712 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
* _resultobj
;
11715 wxMenuItem
* _arg0
;
11716 PyObject
* _argo0
= 0;
11717 char *_kwnames
[] = { "self", NULL
};
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
11723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) return NULL
;
11735 } _resultobj
= Py_BuildValue("i",_result
);
11739 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
* _resultobj
;
11742 char *_kwnames
[] = { NULL
};
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) return NULL
;
11753 } _resultobj
= Py_BuildValue("i",_result
);
11757 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11758 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
* _resultobj
;
11761 wxMenuItem
* _arg0
;
11762 PyObject
* _argo0
= 0;
11763 char *_kwnames
[] = { "self", NULL
};
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
11769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) return NULL
;
11781 } _resultobj
= Py_BuildValue("i",_result
);
11785 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11786 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
* _resultobj
;
11788 wxMenuItem
* _arg0
;
11789 PyObject
* _argo0
= 0;
11790 char *_kwnames
[] = { "self", NULL
};
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
11796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 wxMenuItem_ResetOwnerDrawn(_arg0
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) return NULL
;
11808 } Py_INCREF(Py_None
);
11809 _resultobj
= Py_None
;
11813 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11814 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11815 PyObject
* _resultobj
;
11816 wxMenuItem
* _arg0
;
11818 PyObject
* _argo0
= 0;
11819 PyObject
* _argo1
= 0;
11820 char *_kwnames
[] = { "self","bitmap", NULL
};
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
11826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11833 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) return NULL
;
11844 } Py_INCREF(Py_None
);
11845 _resultobj
= Py_None
;
11849 #define wxMenuItem_GetBitmap(_swigobj) (_swigobj->GetBitmap())
11850 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
* _resultobj
;
11852 wxBitmap
* _result
;
11853 wxMenuItem
* _arg0
;
11854 PyObject
* _argo0
= 0;
11855 char *_kwnames
[] = { "self", NULL
};
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBitmap",_kwnames
,&_argo0
))
11862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 const wxBitmap
& _result_ref
= wxMenuItem_GetBitmap(_arg0
);
11871 _result
= (wxBitmap
*) &_result_ref
;
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) return NULL
;
11876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
11877 _resultobj
= Py_BuildValue("s",_ptemp
);
11879 Py_INCREF(Py_None
);
11880 _resultobj
= Py_None
;
11885 static PyMethodDef windowscMethods
[] = {
11886 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxMenuBar_IsEnabledTop", (PyCFunction
) _wrap_wxMenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11956 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11957 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11958 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11959 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11960 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11961 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11962 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11963 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11964 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11965 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11966 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11967 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11968 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11969 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11970 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11971 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11972 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11973 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11974 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11975 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11976 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11977 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11978 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11979 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11980 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11981 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11982 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11983 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11984 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11985 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11986 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11987 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11988 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11989 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11990 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11991 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11992 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11993 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11994 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11995 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11996 { "wxScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
11997 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11998 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11999 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
12000 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
12001 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
12002 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
12003 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
12004 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
12005 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
12006 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
12007 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12008 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12009 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
12010 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
12011 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
12012 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
12013 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12014 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
12015 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12016 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
12017 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
12018 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
12019 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
12020 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
12021 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
12022 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
12023 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
12024 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
12025 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
12026 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
12027 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
12028 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
12029 { "wxWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_wxWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
12030 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
12031 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
12032 { "wxWindow_OnPaint", (PyCFunction
) _wrap_wxWindow_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
12033 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
12034 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
12035 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
12036 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
12037 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
12038 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
12039 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
12040 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
12041 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
12042 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
12043 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
12044 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
12045 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
12046 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
12047 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
12048 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
12049 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
12050 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
12051 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
12052 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
12053 { "wxWindow_GetAdjustedBestSize", (PyCFunction
) _wrap_wxWindow_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
12054 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
12055 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
12056 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
12057 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
12058 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
12059 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
12060 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
12061 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
12062 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
12063 { "wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
12064 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
12065 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
12066 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
12067 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
12068 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
12069 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
12070 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
12071 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
12072 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
12073 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
12074 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
12075 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
12076 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
12077 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
12078 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
12079 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
12080 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
12081 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12082 { "wxWindow_GetCursor", (PyCFunction
) _wrap_wxWindow_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
12083 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
12084 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
12085 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
12086 { "wxWindow_GetBestVirtualSize", (PyCFunction
) _wrap_wxWindow_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
12087 { "wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12088 { "wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
12089 { "wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
12090 { "wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
12091 { "wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
12092 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
12093 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
12094 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12095 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
12096 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
12097 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
12098 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
12099 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
12100 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
12101 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12102 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
12103 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
12104 { "wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
12105 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
12106 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
12107 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
12108 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12109 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
12110 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
12111 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
12112 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
12113 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
12114 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
12115 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
12116 { "wxWindow_AddChild", (PyCFunction
) _wrap_wxWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
12117 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
12118 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
12119 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
12120 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
12121 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
12122 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12123 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12124 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12125 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
12126 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
12127 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
12128 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
12129 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
12130 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
12131 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
12132 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
12133 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
12134 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
12135 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
12136 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12137 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
12138 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
12139 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
12140 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
12141 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
12142 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
12143 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
12144 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
12145 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
12146 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12147 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12148 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12149 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12150 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
12151 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
12152 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
12153 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
12154 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12155 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
12156 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
12157 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
12158 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12159 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12160 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
12161 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
12162 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
12163 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12164 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12165 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12166 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
12167 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
12168 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12169 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
12170 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12171 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
12172 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
12173 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
12174 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
12175 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12176 { "wxWindow_FitInside", (PyCFunction
) _wrap_wxWindow_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
12177 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
12178 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
12179 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
12180 { "wxWindow_Disable", (PyCFunction
) _wrap_wxWindow_Disable
, METH_VARARGS
| METH_KEYWORDS
},
12181 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
12182 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
12183 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
12184 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
12185 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12186 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
12187 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
12188 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
12189 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12190 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
12191 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
12192 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
12193 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
12194 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
12195 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
12196 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
12197 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
12198 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
12199 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
12200 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
12201 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
12202 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
12203 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12204 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12205 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
12206 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
12207 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
12208 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
12209 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
12210 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
12211 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
12212 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
12213 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
12214 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12215 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12216 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
12217 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
12218 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
12219 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
12220 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
12221 { "wxFindWindowById", (PyCFunction
) _wrap_wxFindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
12222 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
12229 * This table is used by the pointer type-checker
12231 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
12232 { "_signed_long","_long",0},
12233 { "_wxPrintQuality","_wxCoord",0},
12234 { "_wxPrintQuality","_int",0},
12235 { "_wxPrintQuality","_signed_int",0},
12236 { "_wxPrintQuality","_unsigned_int",0},
12237 { "_wxPrintQuality","_wxWindowID",0},
12238 { "_wxPrintQuality","_uint",0},
12239 { "_wxPrintQuality","_EBool",0},
12240 { "_wxPrintQuality","_size_t",0},
12241 { "_wxPrintQuality","_time_t",0},
12242 { "_byte","_unsigned_char",0},
12243 { "_long","_unsigned_long",0},
12244 { "_long","_signed_long",0},
12245 { "_size_t","_wxCoord",0},
12246 { "_size_t","_wxPrintQuality",0},
12247 { "_size_t","_time_t",0},
12248 { "_size_t","_unsigned_int",0},
12249 { "_size_t","_int",0},
12250 { "_size_t","_wxWindowID",0},
12251 { "_size_t","_uint",0},
12252 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
12253 { "_uint","_wxCoord",0},
12254 { "_uint","_wxPrintQuality",0},
12255 { "_uint","_time_t",0},
12256 { "_uint","_size_t",0},
12257 { "_uint","_unsigned_int",0},
12258 { "_uint","_int",0},
12259 { "_uint","_wxWindowID",0},
12260 { "_wxChar","_char",0},
12261 { "_char","_wxChar",0},
12262 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12263 { "_EBool","_wxCoord",0},
12264 { "_EBool","_wxPrintQuality",0},
12265 { "_EBool","_signed_int",0},
12266 { "_EBool","_int",0},
12267 { "_EBool","_wxWindowID",0},
12268 { "_unsigned_long","_long",0},
12269 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12270 { "_signed_int","_wxCoord",0},
12271 { "_signed_int","_wxPrintQuality",0},
12272 { "_signed_int","_EBool",0},
12273 { "_signed_int","_wxWindowID",0},
12274 { "_signed_int","_int",0},
12275 { "_WXTYPE","_short",0},
12276 { "_WXTYPE","_signed_short",0},
12277 { "_WXTYPE","_unsigned_short",0},
12278 { "_unsigned_short","_WXTYPE",0},
12279 { "_unsigned_short","_short",0},
12280 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
12281 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
12282 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
12283 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
12284 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
12285 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
12286 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
12287 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
12288 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
12289 { "_signed_short","_WXTYPE",0},
12290 { "_signed_short","_short",0},
12291 { "_unsigned_char","_byte",0},
12292 { "_unsigned_int","_wxCoord",0},
12293 { "_unsigned_int","_wxPrintQuality",0},
12294 { "_unsigned_int","_time_t",0},
12295 { "_unsigned_int","_size_t",0},
12296 { "_unsigned_int","_uint",0},
12297 { "_unsigned_int","_wxWindowID",0},
12298 { "_unsigned_int","_int",0},
12299 { "_short","_WXTYPE",0},
12300 { "_short","_unsigned_short",0},
12301 { "_short","_signed_short",0},
12302 { "_wxWindowID","_wxCoord",0},
12303 { "_wxWindowID","_wxPrintQuality",0},
12304 { "_wxWindowID","_time_t",0},
12305 { "_wxWindowID","_size_t",0},
12306 { "_wxWindowID","_EBool",0},
12307 { "_wxWindowID","_uint",0},
12308 { "_wxWindowID","_int",0},
12309 { "_wxWindowID","_signed_int",0},
12310 { "_wxWindowID","_unsigned_int",0},
12311 { "_int","_wxCoord",0},
12312 { "_int","_wxPrintQuality",0},
12313 { "_int","_time_t",0},
12314 { "_int","_size_t",0},
12315 { "_int","_EBool",0},
12316 { "_int","_uint",0},
12317 { "_int","_wxWindowID",0},
12318 { "_int","_unsigned_int",0},
12319 { "_int","_signed_int",0},
12320 { "_time_t","_wxCoord",0},
12321 { "_time_t","_wxPrintQuality",0},
12322 { "_time_t","_unsigned_int",0},
12323 { "_time_t","_int",0},
12324 { "_time_t","_wxWindowID",0},
12325 { "_time_t","_uint",0},
12326 { "_time_t","_size_t",0},
12327 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
12328 { "_wxCoord","_int",0},
12329 { "_wxCoord","_signed_int",0},
12330 { "_wxCoord","_unsigned_int",0},
12331 { "_wxCoord","_wxWindowID",0},
12332 { "_wxCoord","_uint",0},
12333 { "_wxCoord","_EBool",0},
12334 { "_wxCoord","_size_t",0},
12335 { "_wxCoord","_time_t",0},
12336 { "_wxCoord","_wxPrintQuality",0},
12337 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
12338 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
12339 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
12340 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
12341 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
12342 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
12343 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
12344 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
12345 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
12346 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
12349 static PyObject
*SWIG_globals
;
12353 SWIGEXPORT(void) initwindowsc() {
12355 SWIG_globals
= SWIG_newvarlink();
12356 m
= Py_InitModule("windowsc", windowscMethods
);
12357 d
= PyModule_GetDict(m
);
12360 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12361 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);