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 */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
60 #include <wx/tooltip.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 class wxPyValidator
: public wxValidator
{
90 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
98 wxObject
* Clone() const {
99 wxPyValidator
* ptr
= NULL
;
100 wxPyValidator
* self
= (wxPyValidator
*)this;
102 wxPyBeginBlockThreads();
103 if (self
->m_myInst
.findCallback("Clone")) {
105 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
107 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
111 wxPyEndBlockThreads();
113 // This is very dangerous!!! But is the only way I could find
114 // to squash a memory leak. Currently it is okay, but if the
115 // validator architecture in wxWindows ever changes, problems
122 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
123 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
124 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
129 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
130 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
131 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
133 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
136 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
137 wxWindow
* win
= new wxWindow
;
139 win
->SubclassWin(hWnd
);
145 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
146 PyObject
* _resultobj
;
149 char *_kwnames
[] = { "hWnd", NULL
};
152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
156 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
158 wxPyEndAllowThreads(__tstate
);
159 if (PyErr_Occurred()) return NULL
;
160 }{ _resultobj
= wxPyMake_wxObject(_result
); }
164 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
167 src
= (wxEvtHandler
*) ptr
;
168 dest
= (wxObject
*) src
;
169 return (void *) dest
;
172 #define new_wxEvtHandler() (new wxEvtHandler())
173 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
175 wxEvtHandler
* _result
;
176 char *_kwnames
[] = { NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
184 _result
= (wxEvtHandler
*)new_wxEvtHandler();
186 wxPyEndAllowThreads(__tstate
);
187 if (PyErr_Occurred()) return NULL
;
189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
190 _resultobj
= Py_BuildValue("s",_ptemp
);
193 _resultobj
= Py_None
;
198 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
199 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
202 wxEvtHandler
* _arg0
;
204 PyObject
* _argo0
= 0;
205 PyObject
* _argo1
= 0;
206 char *_kwnames
[] = { "self","event", NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
227 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
229 wxPyEndAllowThreads(__tstate
);
230 if (PyErr_Occurred()) return NULL
;
231 } _resultobj
= Py_BuildValue("i",_result
);
235 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
236 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
238 wxEvtHandler
* _arg0
;
240 PyObject
* _argo0
= 0;
241 PyObject
* _argo1
= 0;
242 char *_kwnames
[] = { "self","event", NULL
};
245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
255 if (_argo1
== Py_None
) { _arg1
= NULL
; }
256 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
263 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
265 wxPyEndAllowThreads(__tstate
);
266 if (PyErr_Occurred()) return NULL
;
267 } Py_INCREF(Py_None
);
268 _resultobj
= Py_None
;
272 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
273 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
276 wxEvtHandler
* _arg0
;
277 PyObject
* _argo0
= 0;
278 char *_kwnames
[] = { "self", NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
292 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
294 wxPyEndAllowThreads(__tstate
);
295 if (PyErr_Occurred()) return NULL
;
296 } _resultobj
= Py_BuildValue("i",_result
);
300 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
301 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
302 PyObject
* _resultobj
;
303 wxEvtHandler
* _arg0
;
305 PyObject
* _argo0
= 0;
307 char *_kwnames
[] = { "self","enabled", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
319 _arg1
= (bool ) tempbool1
;
321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
322 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
324 wxPyEndAllowThreads(__tstate
);
325 if (PyErr_Occurred()) return NULL
;
326 } Py_INCREF(Py_None
);
327 _resultobj
= Py_None
;
331 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
332 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
334 wxEvtHandler
* _result
;
335 wxEvtHandler
* _arg0
;
336 PyObject
* _argo0
= 0;
337 char *_kwnames
[] = { "self", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
351 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
353 wxPyEndAllowThreads(__tstate
);
354 if (PyErr_Occurred()) return NULL
;
355 }{ _resultobj
= wxPyMake_wxObject(_result
); }
359 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
360 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxEvtHandler
* _result
;
363 wxEvtHandler
* _arg0
;
364 PyObject
* _argo0
= 0;
365 char *_kwnames
[] = { "self", NULL
};
368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
379 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
381 wxPyEndAllowThreads(__tstate
);
382 if (PyErr_Occurred()) return NULL
;
383 }{ _resultobj
= wxPyMake_wxObject(_result
); }
387 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
388 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
389 PyObject
* _resultobj
;
390 wxEvtHandler
* _arg0
;
391 wxEvtHandler
* _arg1
;
392 PyObject
* _argo0
= 0;
393 PyObject
* _argo1
= 0;
394 char *_kwnames
[] = { "self","handler", NULL
};
397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
407 if (_argo1
== Py_None
) { _arg1
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } Py_INCREF(Py_None
);
420 _resultobj
= Py_None
;
424 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
425 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
427 wxEvtHandler
* _arg0
;
428 wxEvtHandler
* _arg1
;
429 PyObject
* _argo0
= 0;
430 PyObject
* _argo1
= 0;
431 char *_kwnames
[] = { "self","handler", NULL
};
434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
452 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
454 wxPyEndAllowThreads(__tstate
);
455 if (PyErr_Occurred()) return NULL
;
456 } Py_INCREF(Py_None
);
457 _resultobj
= Py_None
;
461 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
462 if (PyCallable_Check(func
)) {
463 self
->Connect(id
, lastId
, eventType
,
464 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
465 new wxPyCallback(func
));
467 else if (func
== Py_None
) {
468 self
->Disconnect(id
, lastId
, eventType
,
469 (wxObjectEventFunction
)
470 &wxPyCallback::EventThunker
);
473 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
476 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
477 PyObject
* _resultobj
;
478 wxEvtHandler
* _arg0
;
483 PyObject
* _argo0
= 0;
484 PyObject
* _obj4
= 0;
485 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
502 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
504 wxPyEndAllowThreads(__tstate
);
505 if (PyErr_Occurred()) return NULL
;
506 } Py_INCREF(Py_None
);
507 _resultobj
= Py_None
;
511 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
512 return self
->Disconnect(id
, lastId
, eventType
,
513 (wxObjectEventFunction
)
514 &wxPyCallback::EventThunker
);
516 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
519 wxEvtHandler
* _arg0
;
521 int _arg2
= (int ) -1;
522 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
523 PyObject
* _argo0
= 0;
524 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
538 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
540 wxPyEndAllowThreads(__tstate
);
541 if (PyErr_Occurred()) return NULL
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
547 self
->SetClientObject(new wxPyClientData(_self
));
549 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
551 wxEvtHandler
* _arg0
;
553 PyObject
* _argo0
= 0;
554 PyObject
* _obj1
= 0;
555 char *_kwnames
[] = { "self","_self", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
572 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
574 wxPyEndAllowThreads(__tstate
);
575 if (PyErr_Occurred()) return NULL
;
576 } Py_INCREF(Py_None
);
577 _resultobj
= Py_None
;
581 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
584 src
= (wxValidator
*) ptr
;
585 dest
= (wxEvtHandler
*) src
;
586 return (void *) dest
;
589 static void *SwigwxValidatorTowxObject(void *ptr
) {
592 src
= (wxValidator
*) ptr
;
593 dest
= (wxObject
*) src
;
594 return (void *) dest
;
597 #define new_wxValidator() (new wxValidator())
598 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
600 wxValidator
* _result
;
601 char *_kwnames
[] = { NULL
};
605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= (wxValidator
*)new_wxValidator();
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
615 _resultobj
= Py_BuildValue("s",_ptemp
);
618 _resultobj
= Py_None
;
623 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
624 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
626 wxValidator
* _result
;
628 PyObject
* _argo0
= 0;
629 char *_kwnames
[] = { "self", NULL
};
632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
643 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
645 wxPyEndAllowThreads(__tstate
);
646 if (PyErr_Occurred()) return NULL
;
647 }{ _resultobj
= wxPyMake_wxObject(_result
); }
651 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
652 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
656 PyObject
* _argo0
= 0;
657 char *_kwnames
[] = { "self", NULL
};
660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
671 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
673 wxPyEndAllowThreads(__tstate
);
674 if (PyErr_Occurred()) return NULL
;
675 }{ _resultobj
= wxPyMake_wxObject(_result
); }
679 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
680 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
681 PyObject
* _resultobj
;
684 PyObject
* _argo0
= 0;
685 PyObject
* _argo1
= 0;
686 char *_kwnames
[] = { "self","window", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 wxValidator_SetWindow(_arg0
,_arg1
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
711 } Py_INCREF(Py_None
);
712 _resultobj
= Py_None
;
716 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
719 char *_kwnames
[] = { NULL
};
722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
726 _result
= (bool )wxValidator::IsSilent();
728 wxPyEndAllowThreads(__tstate
);
729 if (PyErr_Occurred()) return NULL
;
730 } _resultobj
= Py_BuildValue("i",_result
);
734 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
736 int _arg0
= (int ) TRUE
;
737 char *_kwnames
[] = { "doIt", NULL
};
740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
744 wxValidator::SetBellOnError(_arg0
);
746 wxPyEndAllowThreads(__tstate
);
747 if (PyErr_Occurred()) return NULL
;
748 } Py_INCREF(Py_None
);
749 _resultobj
= Py_None
;
753 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
756 src
= (wxPyValidator
*) ptr
;
757 dest
= (wxValidator
*) src
;
758 return (void *) dest
;
761 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
764 src
= (wxPyValidator
*) ptr
;
765 dest
= (wxEvtHandler
*) src
;
766 return (void *) dest
;
769 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
772 src
= (wxPyValidator
*) ptr
;
773 dest
= (wxObject
*) src
;
774 return (void *) dest
;
777 #define new_wxPyValidator() (new wxPyValidator())
778 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
780 wxPyValidator
* _result
;
781 char *_kwnames
[] = { NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
789 _result
= (wxPyValidator
*)new_wxPyValidator();
791 wxPyEndAllowThreads(__tstate
);
792 if (PyErr_Occurred()) return NULL
;
794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
795 _resultobj
= Py_BuildValue("s",_ptemp
);
798 _resultobj
= Py_None
;
803 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
804 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
806 wxPyValidator
* _arg0
;
809 int _arg3
= (int ) TRUE
;
810 PyObject
* _argo0
= 0;
811 PyObject
* _obj1
= 0;
812 PyObject
* _obj2
= 0;
813 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
833 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
835 wxPyEndAllowThreads(__tstate
);
836 if (PyErr_Occurred()) return NULL
;
837 } Py_INCREF(Py_None
);
838 _resultobj
= Py_None
;
842 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
845 src
= (wxWindow
*) ptr
;
846 dest
= (wxEvtHandler
*) src
;
847 return (void *) dest
;
850 static void *SwigwxWindowTowxObject(void *ptr
) {
853 src
= (wxWindow
*) ptr
;
854 dest
= (wxObject
*) src
;
855 return (void *) dest
;
858 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
859 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
864 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
865 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
866 long _arg4
= (long ) 0;
867 char * _arg5
= (char *) "panel";
868 PyObject
* _argo0
= 0;
870 PyObject
* _obj2
= 0;
872 PyObject
* _obj3
= 0;
873 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
889 if (! wxPoint_helper(_obj2
, &_arg2
))
895 if (! wxSize_helper(_obj3
, &_arg3
))
899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
900 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
902 wxPyEndAllowThreads(__tstate
);
903 if (PyErr_Occurred()) return NULL
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define new_wxPreWindow() (new wxWindow())
915 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
918 char *_kwnames
[] = { NULL
};
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 _result
= (wxWindow
*)new_wxPreWindow();
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
931 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
932 _resultobj
= Py_BuildValue("s",_ptemp
);
935 _resultobj
= Py_None
;
940 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
941 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
947 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
948 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
949 long _arg5
= (long ) 0;
950 char * _arg6
= (char *) "panel";
951 PyObject
* _argo0
= 0;
952 PyObject
* _argo1
= 0;
954 PyObject
* _obj3
= 0;
956 PyObject
* _obj4
= 0;
957 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
970 if (_argo1
== Py_None
) { _arg1
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
979 if (! wxPoint_helper(_obj3
, &_arg3
))
985 if (! wxSize_helper(_obj4
, &_arg4
))
989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
990 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
992 wxPyEndAllowThreads(__tstate
);
993 if (PyErr_Occurred()) return NULL
;
994 } _resultobj
= Py_BuildValue("i",_result
);
998 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
999 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 wxWindow_CaptureMouse(_arg0
);
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1027 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1030 int _arg1
= (int ) wxBOTH
;
1031 PyObject
* _argo0
= 0;
1032 char *_kwnames
[] = { "self","direction", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 wxWindow_Center(_arg0
,_arg1
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) return NULL
;
1050 } Py_INCREF(Py_None
);
1051 _resultobj
= Py_None
;
1055 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1056 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1059 int _arg1
= (int ) wxBOTH
;
1060 PyObject
* _argo0
= 0;
1061 char *_kwnames
[] = { "self","direction", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 wxWindow_Centre(_arg0
,_arg1
);
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1085 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1088 int _arg1
= (int ) wxBOTH
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","direction", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 wxWindow_CentreOnParent(_arg0
,_arg1
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 int _arg1
= (int ) wxBOTH
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self","direction", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 wxWindow_CenterOnParent(_arg0
,_arg1
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1143 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
* _resultobj
;
1146 int _arg1
= (int ) wxBOTH
;
1147 PyObject
* _argo0
= 0;
1148 char *_kwnames
[] = { "self","direction", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1171 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1172 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1175 int _arg1
= (int ) wxBOTH
;
1176 PyObject
* _argo0
= 0;
1177 char *_kwnames
[] = { "self","direction", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1201 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 wxWindow_Clear(_arg0
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1223 } Py_INCREF(Py_None
);
1224 _resultobj
= Py_None
;
1228 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1229 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1234 PyObject
* _argo0
= 0;
1236 PyObject
* _obj1
= 0;
1238 PyObject
* _obj2
= 0;
1239 char *_kwnames
[] = { "self","x","y", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1252 temp
= (int) PyInt_AsLong(_obj1
);
1256 temp0
= (int) PyInt_AsLong(_obj2
);
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) return NULL
;
1265 } Py_INCREF(Py_None
);
1266 _resultobj
= Py_None
;
1269 o
= PyInt_FromLong((long) (*_arg1
));
1270 _resultobj
= t_output_helper(_resultobj
, o
);
1274 o
= PyInt_FromLong((long) (*_arg2
));
1275 _resultobj
= t_output_helper(_resultobj
, o
);
1280 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1281 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1286 PyObject
* _argo0
= 0;
1288 PyObject
* _obj1
= 0;
1289 char *_kwnames
[] = { "self","pt", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
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_ClientToScreen. Expected _wxWindow_p.");
1304 if (! wxPoint_helper(_obj1
, &_arg1
))
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1313 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1314 _resultobj
= Py_BuildValue("s",_ptemp
);
1318 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1319 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1323 int _arg1
= (int ) FALSE
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self","force", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1341 wxPyEndAllowThreads(__tstate
);
1342 if (PyErr_Occurred()) return NULL
;
1343 } _resultobj
= Py_BuildValue("i",_result
);
1347 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1348 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1352 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 _result
= (bool )wxWindow_Destroy(_arg0
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 } _resultobj
= Py_BuildValue("i",_result
);
1375 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1376 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1379 PyObject
* _argo0
= 0;
1380 char *_kwnames
[] = { "self", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 wxWindow_DestroyChildren(_arg0
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) return NULL
;
1398 } Py_INCREF(Py_None
);
1399 _resultobj
= Py_None
;
1403 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1404 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "self", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1427 } _resultobj
= Py_BuildValue("i",_result
);
1431 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1432 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1436 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self","accept", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
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_DragAcceptFiles. Expected _wxWindow_p.");
1450 _arg1
= (bool ) tempbool1
;
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1463 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1467 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","enable", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1481 _arg1
= (bool ) tempbool1
;
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 wxWindow_Enable(_arg0
,_arg1
);
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) return NULL
;
1488 } Py_INCREF(Py_None
);
1489 _resultobj
= Py_None
;
1493 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1494 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1499 PyObject
* _argo0
= 0;
1500 char *_kwnames
[] = { "self","id", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1514 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1516 wxPyEndAllowThreads(__tstate
);
1517 if (PyErr_Occurred()) return NULL
;
1518 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1522 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1523 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1528 PyObject
* _argo0
= 0;
1529 PyObject
* _obj1
= 0;
1530 char *_kwnames
[] = { "self","name", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1543 _arg1
= wxString_in_helper(_obj1
);
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) return NULL
;
1553 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1561 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1562 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1565 PyObject
* _argo0
= 0;
1566 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 wxWindow_Fit(_arg0
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } Py_INCREF(Py_None
);
1585 _resultobj
= Py_None
;
1589 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1590 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1594 PyObject
* _argo0
= 0;
1595 char *_kwnames
[] = { "self", NULL
};
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1614 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1615 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1620 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1624 PyObject
* _argo0
= 0;
1625 char *_kwnames
[] = { "self", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1643 } _resultobj
= Py_BuildValue("i",_result
);
1647 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1648 wxWindowList
& list
= self
->GetChildren();
1649 return wxPy_ConvertList(&list
, "wxWindow");
1651 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) return NULL
;
1675 _resultobj
= _result
;
1680 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1681 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1685 PyObject
* _argo0
= 0;
1686 char *_kwnames
[] = { "self", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) return NULL
;
1704 } _resultobj
= Py_BuildValue("i",_result
);
1708 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1709 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1737 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1744 PyObject
* _argo0
= 0;
1745 char *_kwnames
[] = { "self", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) return NULL
;
1769 } Py_INCREF(Py_None
);
1770 _resultobj
= Py_None
;
1773 o
= PyInt_FromLong((long) (*_arg1
));
1774 _resultobj
= t_output_helper(_resultobj
, o
);
1778 o
= PyInt_FromLong((long) (*_arg2
));
1779 _resultobj
= t_output_helper(_resultobj
, o
);
1784 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1785 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) return NULL
;
1809 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1810 _resultobj
= Py_BuildValue("s",_ptemp
);
1814 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1815 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1819 PyObject
* _argo0
= 0;
1820 char *_kwnames
[] = { "self", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) return NULL
;
1839 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1840 _resultobj
= Py_BuildValue("s",_ptemp
);
1844 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1845 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1849 PyObject
* _argo0
= 0;
1850 char *_kwnames
[] = { "self", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) return NULL
;
1869 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1870 _resultobj
= Py_BuildValue("s",_ptemp
);
1874 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1875 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1877 wxLayoutConstraints
* _result
;
1879 PyObject
* _argo0
= 0;
1880 char *_kwnames
[] = { "self", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1901 _resultobj
= Py_BuildValue("s",_ptemp
);
1904 _resultobj
= Py_None
;
1909 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1910 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1912 wxEvtHandler
* _result
;
1914 PyObject
* _argo0
= 0;
1915 char *_kwnames
[] = { "self", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1937 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1938 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1942 PyObject
* _argo0
= 0;
1943 char *_kwnames
[] = { "self", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1963 _resultobj
= Py_BuildValue("s",_ptemp
);
1967 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1968 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1992 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1993 _resultobj
= Py_BuildValue("s",_ptemp
);
1997 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1998 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2002 PyObject
* _argo0
= 0;
2003 char *_kwnames
[] = { "self", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) return NULL
;
2021 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2025 static long wxWindow_GetHandle(wxWindow
*self
) {
2026 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2028 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2032 PyObject
* _argo0
= 0;
2033 char *_kwnames
[] = { "self", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 _result
= (long )wxWindow_GetHandle(_arg0
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) return NULL
;
2051 } _resultobj
= Py_BuildValue("l",_result
);
2055 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2056 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 _result
= (int )wxWindow_GetId(_arg0
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) return NULL
;
2079 } _resultobj
= Py_BuildValue("i",_result
);
2083 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2084 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2109 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2111 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2120 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2121 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 PyObject
* _obj1
= 0;
2127 char *_kwnames
[] = { "self","label", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2140 _arg1
= wxString_in_helper(_obj1
);
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 wxWindow_SetLabel(_arg0
,*_arg1
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2150 } Py_INCREF(Py_None
);
2151 _resultobj
= Py_None
;
2159 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2160 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2164 PyObject
* _argo0
= 0;
2165 char *_kwnames
[] = { "self", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 _result
= new wxString (wxWindow_GetName(_arg0
));
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) return NULL
;
2185 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2187 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2196 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2197 static PyObject
*_wrap_wxWindow_GetParent(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_GetParent",_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_GetParent. Expected _wxWindow_p.");
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) return NULL
;
2220 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2224 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2225 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2232 PyObject
* _argo0
= 0;
2233 char *_kwnames
[] = { "self", NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2257 } Py_INCREF(Py_None
);
2258 _resultobj
= Py_None
;
2261 o
= PyInt_FromLong((long) (*_arg1
));
2262 _resultobj
= t_output_helper(_resultobj
, o
);
2266 o
= PyInt_FromLong((long) (*_arg2
));
2267 _resultobj
= t_output_helper(_resultobj
, o
);
2272 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2273 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
* _resultobj
;
2277 PyObject
* _argo0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) return NULL
;
2297 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2298 _resultobj
= Py_BuildValue("s",_ptemp
);
2302 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2303 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2307 PyObject
* _argo0
= 0;
2308 char *_kwnames
[] = { "self", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) return NULL
;
2327 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2328 _resultobj
= Py_BuildValue("s",_ptemp
);
2332 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2333 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2338 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self","orientation", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) return NULL
;
2357 } _resultobj
= Py_BuildValue("i",_result
);
2361 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2362 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self","orientation", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2386 } _resultobj
= Py_BuildValue("i",_result
);
2390 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2391 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2396 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self","orientation", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) return NULL
;
2415 } _resultobj
= Py_BuildValue("i",_result
);
2419 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2420 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2427 PyObject
* _argo0
= 0;
2428 char *_kwnames
[] = { "self", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) return NULL
;
2452 } Py_INCREF(Py_None
);
2453 _resultobj
= Py_None
;
2456 o
= PyInt_FromLong((long) (*_arg1
));
2457 _resultobj
= t_output_helper(_resultobj
, o
);
2461 o
= PyInt_FromLong((long) (*_arg2
));
2462 _resultobj
= t_output_helper(_resultobj
, o
);
2467 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2468 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2472 PyObject
* _argo0
= 0;
2473 char *_kwnames
[] = { "self", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) return NULL
;
2492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2493 _resultobj
= Py_BuildValue("s",_ptemp
);
2497 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2498 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2506 PyObject
* _argo0
= 0;
2507 PyObject
* _obj1
= 0;
2508 char *_kwnames
[] = { "self","string", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2527 _arg1
= wxString_in_helper(_obj1
);
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) return NULL
;
2537 } Py_INCREF(Py_None
);
2538 _resultobj
= Py_None
;
2541 o
= PyInt_FromLong((long) (*_arg2
));
2542 _resultobj
= t_output_helper(_resultobj
, o
);
2546 o
= PyInt_FromLong((long) (*_arg3
));
2547 _resultobj
= t_output_helper(_resultobj
, o
);
2556 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2557 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2569 wxFont
* _arg6
= (wxFont
*) NULL
;
2570 PyObject
* _argo0
= 0;
2571 PyObject
* _obj1
= 0;
2572 PyObject
* _argo6
= 0;
2573 char *_kwnames
[] = { "self","string","font", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2598 _arg1
= wxString_in_helper(_obj1
);
2603 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2615 } Py_INCREF(Py_None
);
2616 _resultobj
= Py_None
;
2619 o
= PyInt_FromLong((long) (*_arg2
));
2620 _resultobj
= t_output_helper(_resultobj
, o
);
2624 o
= PyInt_FromLong((long) (*_arg3
));
2625 _resultobj
= t_output_helper(_resultobj
, o
);
2629 o
= PyInt_FromLong((long) (*_arg4
));
2630 _resultobj
= t_output_helper(_resultobj
, o
);
2634 o
= PyInt_FromLong((long) (*_arg5
));
2635 _resultobj
= t_output_helper(_resultobj
, o
);
2644 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2645 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) return NULL
;
2670 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2672 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2681 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2682 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2686 PyObject
* _argo0
= 0;
2687 char *_kwnames
[] = { "self", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) return NULL
;
2706 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2707 _resultobj
= Py_BuildValue("s",_ptemp
);
2711 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2712 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
* _resultobj
;
2716 PyObject
* _argo0
= 0;
2717 char *_kwnames
[] = { "self", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) return NULL
;
2735 } _resultobj
= Py_BuildValue("l",_result
);
2739 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2740 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
* _resultobj
;
2744 PyObject
* _argo0
= 0;
2745 char *_kwnames
[] = { "self","style", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) return NULL
;
2763 } Py_INCREF(Py_None
);
2764 _resultobj
= Py_None
;
2768 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2769 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2773 PyObject
* _argo0
= 0;
2774 char *_kwnames
[] = { "self","style", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2792 } Py_INCREF(Py_None
);
2793 _resultobj
= Py_None
;
2797 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2798 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2803 PyObject
* _argo0
= 0;
2804 char *_kwnames
[] = { "self","orient", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) return NULL
;
2822 } _resultobj
= Py_BuildValue("i",_result
);
2826 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2827 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2831 PyObject
* _argo0
= 0;
2832 char *_kwnames
[] = { "self", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 _result
= (bool )wxWindow_Hide(_arg0
);
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) return NULL
;
2850 } _resultobj
= Py_BuildValue("i",_result
);
2854 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2855 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
* _resultobj
;
2860 PyObject
* _argo0
= 0;
2862 PyObject
* _obj1
= 0;
2863 char *_kwnames
[] = { "self","pt", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2877 if (! wxPoint_helper(_obj1
, &_arg1
))
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) return NULL
;
2886 } _resultobj
= Py_BuildValue("i",_result
);
2890 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2891 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 wxWindow_InitDialog(_arg0
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) return NULL
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2919 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2923 PyObject
* _argo0
= 0;
2924 char *_kwnames
[] = { "self", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) return NULL
;
2942 } _resultobj
= Py_BuildValue("i",_result
);
2946 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2947 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2953 int _arg3
= (int ) 0;
2954 int _arg4
= (int ) 0;
2955 PyObject
* _argo0
= 0;
2956 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) return NULL
;
2974 } _resultobj
= Py_BuildValue("i",_result
);
2978 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2979 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2984 PyObject
* _argo0
= 0;
2986 PyObject
* _obj1
= 0;
2987 char *_kwnames
[] = { "self","pt", NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3001 if (! wxPoint_helper(_obj1
, &_arg1
))
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) return NULL
;
3010 } _resultobj
= Py_BuildValue("i",_result
);
3014 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3015 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3020 PyObject
* _argo0
= 0;
3022 PyObject
* _obj1
= 0;
3023 char *_kwnames
[] = { "self","rect", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3037 if (! wxRect_helper(_obj1
, &_arg1
))
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) return NULL
;
3046 } _resultobj
= Py_BuildValue("i",_result
);
3050 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3051 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 _result
= (bool )wxWindow_IsRetained(_arg0
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) return NULL
;
3074 } _resultobj
= Py_BuildValue("i",_result
);
3078 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3079 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
* _resultobj
;
3083 PyObject
* _argo0
= 0;
3084 char *_kwnames
[] = { "self", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 _result
= (bool )wxWindow_IsShown(_arg0
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) return NULL
;
3102 } _resultobj
= Py_BuildValue("i",_result
);
3106 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3107 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3111 PyObject
* _argo0
= 0;
3112 char *_kwnames
[] = { "self", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) return NULL
;
3130 } _resultobj
= Py_BuildValue("i",_result
);
3134 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3135 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3138 PyObject
* _argo0
= 0;
3139 char *_kwnames
[] = { "self", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 wxWindow_Layout(_arg0
);
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) return NULL
;
3157 } Py_INCREF(Py_None
);
3158 _resultobj
= Py_None
;
3162 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3163 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3169 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3170 PyObject
* _argo0
= 0;
3171 PyObject
* _argo1
= 0;
3172 PyObject
* _obj2
= 0;
3173 PyObject
* _argo3
= 0;
3174 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3187 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3194 _arg2
= wxString_in_helper(_obj2
);
3199 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) return NULL
;
3211 } _resultobj
= Py_BuildValue("i",_result
);
3219 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3220 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 wxWindow_Lower(_arg0
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) return NULL
;
3242 } Py_INCREF(Py_None
);
3243 _resultobj
= Py_None
;
3247 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3248 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3251 bool _arg1
= (bool ) TRUE
;
3252 PyObject
* _argo0
= 0;
3253 int tempbool1
= (int) TRUE
;
3254 char *_kwnames
[] = { "self","flag", NULL
};
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3266 _arg1
= (bool ) tempbool1
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 wxWindow_MakeModal(_arg0
,_arg1
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) return NULL
;
3273 } Py_INCREF(Py_None
);
3274 _resultobj
= Py_None
;
3278 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3279 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3284 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3285 PyObject
* _argo0
= 0;
3286 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) return NULL
;
3304 } Py_INCREF(Py_None
);
3305 _resultobj
= Py_None
;
3309 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3310 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3314 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3315 PyObject
* _argo0
= 0;
3317 PyObject
* _obj1
= 0;
3318 char *_kwnames
[] = { "self","point","flags", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3332 if (! wxPoint_helper(_obj1
, &_arg1
))
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) return NULL
;
3341 } Py_INCREF(Py_None
);
3342 _resultobj
= Py_None
;
3346 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3347 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3349 wxEvtHandler
* _result
;
3351 bool _arg1
= (bool ) FALSE
;
3352 PyObject
* _argo0
= 0;
3353 int tempbool1
= (int) FALSE
;
3354 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3366 _arg1
= (bool ) tempbool1
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) return NULL
;
3373 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3377 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3378 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3381 wxEvtHandler
* _arg1
;
3382 PyObject
* _argo0
= 0;
3383 PyObject
* _argo1
= 0;
3384 char *_kwnames
[] = { "self","handler", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 wxWindow_PushEventHandler(_arg0
,_arg1
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) return NULL
;
3409 } Py_INCREF(Py_None
);
3410 _resultobj
= Py_None
;
3414 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3415 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3419 wxEvtHandler
* _arg1
;
3420 PyObject
* _argo0
= 0;
3421 PyObject
* _argo1
= 0;
3422 char *_kwnames
[] = { "self","handler", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) return NULL
;
3447 } _resultobj
= Py_BuildValue("i",_result
);
3451 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3452 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3459 PyObject
* _argo0
= 0;
3460 PyObject
* _argo1
= 0;
3461 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3474 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) return NULL
;
3486 } _resultobj
= Py_BuildValue("i",_result
);
3490 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3491 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3497 PyObject
* _argo0
= 0;
3498 PyObject
* _argo1
= 0;
3500 PyObject
* _obj2
= 0;
3501 char *_kwnames
[] = { "self","menu","pos", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3522 if (! wxPoint_helper(_obj2
, &_arg2
))
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) return NULL
;
3531 } _resultobj
= Py_BuildValue("i",_result
);
3535 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3536 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 PyObject
* _argo0
= 0;
3540 char *_kwnames
[] = { "self", NULL
};
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 wxWindow_Raise(_arg0
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) return NULL
;
3558 } Py_INCREF(Py_None
);
3559 _resultobj
= Py_None
;
3563 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3564 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3567 bool _arg1
= (bool ) TRUE
;
3568 wxRect
* _arg2
= (wxRect
*) NULL
;
3569 PyObject
* _argo0
= 0;
3570 int tempbool1
= (int) TRUE
;
3572 PyObject
* _obj2
= 0;
3573 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
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_Refresh. Expected _wxWindow_p.");
3585 _arg1
= (bool ) tempbool1
;
3589 if (! wxRect_helper(_obj2
, &_arg2
))
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) return NULL
;
3598 } Py_INCREF(Py_None
);
3599 _resultobj
= Py_None
;
3603 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3604 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3608 PyObject
* _argo0
= 0;
3610 PyObject
* _obj1
= 0;
3611 char *_kwnames
[] = { "self","rect", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3625 if (! wxRect_helper(_obj1
, &_arg1
))
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 wxWindow_RefreshRect(_arg0
,*_arg1
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) return NULL
;
3634 } Py_INCREF(Py_None
);
3635 _resultobj
= Py_None
;
3639 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3640 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 wxWindow_ReleaseMouse(_arg0
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) return NULL
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3668 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3672 PyObject
* _argo0
= 0;
3673 PyObject
* _argo1
= 0;
3674 char *_kwnames
[] = { "self","child", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 wxWindow_RemoveChild(_arg0
,_arg1
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) return NULL
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3705 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3710 PyObject
* _argo0
= 0;
3711 PyObject
* _argo1
= 0;
3712 char *_kwnames
[] = { "self","newParent", NULL
};
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) return NULL
;
3737 } _resultobj
= Py_BuildValue("i",_result
);
3741 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3742 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3747 PyObject
* _argo0
= 0;
3749 PyObject
* _obj1
= 0;
3751 PyObject
* _obj2
= 0;
3752 char *_kwnames
[] = { "self","x","y", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3765 temp
= (int) PyInt_AsLong(_obj1
);
3769 temp0
= (int) PyInt_AsLong(_obj2
);
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) return NULL
;
3778 } Py_INCREF(Py_None
);
3779 _resultobj
= Py_None
;
3782 o
= PyInt_FromLong((long) (*_arg1
));
3783 _resultobj
= t_output_helper(_resultobj
, o
);
3787 o
= PyInt_FromLong((long) (*_arg2
));
3788 _resultobj
= t_output_helper(_resultobj
, o
);
3793 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3794 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3799 PyObject
* _argo0
= 0;
3801 PyObject
* _obj1
= 0;
3802 char *_kwnames
[] = { "self","pt", NULL
};
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3817 if (! wxPoint_helper(_obj1
, &_arg1
))
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) return NULL
;
3826 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3827 _resultobj
= Py_BuildValue("s",_ptemp
);
3831 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3832 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3837 wxRect
* _arg3
= (wxRect
*) NULL
;
3838 PyObject
* _argo0
= 0;
3840 PyObject
* _obj3
= 0;
3841 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3856 if (! wxRect_helper(_obj3
, &_arg3
))
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) return NULL
;
3865 } Py_INCREF(Py_None
);
3866 _resultobj
= Py_None
;
3870 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3871 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3875 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self","autoLayout", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3889 _arg1
= (bool ) tempbool1
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) return NULL
;
3896 } Py_INCREF(Py_None
);
3897 _resultobj
= Py_None
;
3901 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3902 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3906 PyObject
* _argo0
= 0;
3907 char *_kwnames
[] = { "self", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) return NULL
;
3925 } _resultobj
= Py_BuildValue("i",_result
);
3929 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3930 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3934 PyObject
* _argo0
= 0;
3936 PyObject
* _obj1
= 0;
3937 char *_kwnames
[] = { "self","colour", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3951 if (! wxColour_helper(_obj1
, &_arg1
))
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) return NULL
;
3960 } Py_INCREF(Py_None
);
3961 _resultobj
= Py_None
;
3965 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3966 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3969 wxLayoutConstraints
* _arg1
;
3970 PyObject
* _argo0
= 0;
3971 PyObject
* _argo1
= 0;
3972 char *_kwnames
[] = { "self","constraints", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 wxWindow_SetConstraints(_arg0
,_arg1
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) return NULL
;
3997 } Py_INCREF(Py_None
);
3998 _resultobj
= Py_None
;
4002 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4003 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
* _resultobj
;
4006 wxLayoutConstraints
* _arg1
;
4007 PyObject
* _argo0
= 0;
4008 PyObject
* _argo1
= 0;
4009 char *_kwnames
[] = { "self","constraints", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) return NULL
;
4034 } Py_INCREF(Py_None
);
4035 _resultobj
= Py_None
;
4039 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4040 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4043 PyObject
* _argo0
= 0;
4044 char *_kwnames
[] = { "self", NULL
};
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 wxWindow_SetFocus(_arg0
);
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) return NULL
;
4062 } Py_INCREF(Py_None
);
4063 _resultobj
= Py_None
;
4067 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4068 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4072 PyObject
* _argo0
= 0;
4073 char *_kwnames
[] = { "self", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) return NULL
;
4091 } _resultobj
= Py_BuildValue("i",_result
);
4095 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4096 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4100 PyObject
* _argo0
= 0;
4101 PyObject
* _argo1
= 0;
4102 char *_kwnames
[] = { "self","font", NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4115 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 wxWindow_SetFont(_arg0
,*_arg1
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) return NULL
;
4127 } Py_INCREF(Py_None
);
4128 _resultobj
= Py_None
;
4132 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4133 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4137 PyObject
* _argo0
= 0;
4139 PyObject
* _obj1
= 0;
4140 char *_kwnames
[] = { "self","colour", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4154 if (! wxColour_helper(_obj1
, &_arg1
))
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) return NULL
;
4163 } Py_INCREF(Py_None
);
4164 _resultobj
= Py_None
;
4168 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4169 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4173 PyObject
* _argo0
= 0;
4174 char *_kwnames
[] = { "self","id", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 wxWindow_SetId(_arg0
,_arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) return NULL
;
4192 } Py_INCREF(Py_None
);
4193 _resultobj
= Py_None
;
4197 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4198 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4202 PyObject
* _argo0
= 0;
4203 PyObject
* _obj1
= 0;
4204 char *_kwnames
[] = { "self","name", NULL
};
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4217 _arg1
= wxString_in_helper(_obj1
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 wxWindow_SetName(_arg0
,*_arg1
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) return NULL
;
4227 } Py_INCREF(Py_None
);
4228 _resultobj
= Py_None
;
4236 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4237 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
* _resultobj
;
4244 int _arg5
= (int ) TRUE
;
4245 PyObject
* _argo0
= 0;
4246 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) return NULL
;
4264 } Py_INCREF(Py_None
);
4265 _resultobj
= Py_None
;
4269 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4270 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4275 bool _arg3
= (bool ) TRUE
;
4276 PyObject
* _argo0
= 0;
4277 int tempbool3
= (int) TRUE
;
4278 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4290 _arg3
= (bool ) tempbool3
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } Py_INCREF(Py_None
);
4298 _resultobj
= Py_None
;
4302 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4303 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4310 int _arg5
= (int ) wxSIZE_AUTO
;
4311 PyObject
* _argo0
= 0;
4312 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) return NULL
;
4330 } Py_INCREF(Py_None
);
4331 _resultobj
= Py_None
;
4335 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4336 self
->SetSize(size
);
4338 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4342 PyObject
* _argo0
= 0;
4344 PyObject
* _obj1
= 0;
4345 char *_kwnames
[] = { "self","size", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4359 if (! wxSize_helper(_obj1
, &_arg1
))
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 wxWindow_SetSize(_arg0
,*_arg1
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) return NULL
;
4368 } Py_INCREF(Py_None
);
4369 _resultobj
= Py_None
;
4373 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4374 self
->Move(pos
, flags
);
4376 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4380 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4381 PyObject
* _argo0
= 0;
4383 PyObject
* _obj1
= 0;
4384 char *_kwnames
[] = { "self","pos","flags", NULL
};
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4398 if (! wxPoint_helper(_obj1
, &_arg1
))
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) return NULL
;
4407 } Py_INCREF(Py_None
);
4408 _resultobj
= Py_None
;
4412 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4413 self
->SetSize(rect
, sizeFlags
);
4415 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
* _resultobj
;
4419 int _arg2
= (int ) wxSIZE_AUTO
;
4420 PyObject
* _argo0
= 0;
4422 PyObject
* _obj1
= 0;
4423 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4437 if (! wxRect_helper(_obj1
, &_arg1
))
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) return NULL
;
4446 } Py_INCREF(Py_None
);
4447 _resultobj
= Py_None
;
4451 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4452 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4455 int _arg1
= (int ) -1;
4456 int _arg2
= (int ) -1;
4457 int _arg3
= (int ) -1;
4458 int _arg4
= (int ) -1;
4459 int _arg5
= (int ) -1;
4460 int _arg6
= (int ) -1;
4461 PyObject
* _argo0
= 0;
4462 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) return NULL
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4485 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4486 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self","width","height", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) return NULL
;
4510 } Py_INCREF(Py_None
);
4511 _resultobj
= Py_None
;
4515 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4516 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4520 PyObject
* _argo0
= 0;
4522 PyObject
* _obj1
= 0;
4523 char *_kwnames
[] = { "self","size", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4537 if (! wxSize_helper(_obj1
, &_arg1
))
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 wxWindow_SetClientSize(_arg0
,*_arg1
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) return NULL
;
4546 } Py_INCREF(Py_None
);
4547 _resultobj
= Py_None
;
4551 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4552 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4556 PyObject
* _argo0
= 0;
4557 PyObject
* _argo1
= 0;
4558 char *_kwnames
[] = { "self","cursor", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 wxWindow_SetCursor(_arg0
,*_arg1
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) return NULL
;
4583 } Py_INCREF(Py_None
);
4584 _resultobj
= Py_None
;
4588 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4589 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4592 wxEvtHandler
* _arg1
;
4593 PyObject
* _argo0
= 0;
4594 PyObject
* _argo1
= 0;
4595 char *_kwnames
[] = { "self","handler", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 wxWindow_SetEventHandler(_arg0
,_arg1
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) return NULL
;
4620 } Py_INCREF(Py_None
);
4621 _resultobj
= Py_None
;
4625 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4626 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4630 PyObject
* _argo0
= 0;
4631 char *_kwnames
[] = { "self","exStyle", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) return NULL
;
4649 } Py_INCREF(Py_None
);
4650 _resultobj
= Py_None
;
4654 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4655 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
* _resultobj
;
4659 PyObject
* _argo0
= 0;
4660 PyObject
* _obj1
= 0;
4661 char *_kwnames
[] = { "self","title", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4674 _arg1
= wxString_in_helper(_obj1
);
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxWindow_SetTitle(_arg0
,*_arg1
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) return NULL
;
4684 } Py_INCREF(Py_None
);
4685 _resultobj
= Py_None
;
4693 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4694 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4698 bool _arg1
= (bool ) TRUE
;
4699 PyObject
* _argo0
= 0;
4700 int tempbool1
= (int) TRUE
;
4701 char *_kwnames
[] = { "self","show", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4713 _arg1
= (bool ) tempbool1
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4720 } _resultobj
= Py_BuildValue("i",_result
);
4724 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4725 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 char *_kwnames
[] = { "self", NULL
};
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) return NULL
;
4748 } _resultobj
= Py_BuildValue("i",_result
);
4752 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4753 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) return NULL
;
4776 } _resultobj
= Py_BuildValue("i",_result
);
4780 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4781 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4784 PyObject
* _argo0
= 0;
4785 char *_kwnames
[] = { "self", NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 wxWindow_UpdateWindowUI(_arg0
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) return NULL
;
4803 } Py_INCREF(Py_None
);
4804 _resultobj
= Py_None
;
4808 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4809 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4813 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 _result
= (bool )wxWindow_Validate(_arg0
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) return NULL
;
4832 } _resultobj
= Py_BuildValue("i",_result
);
4836 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4837 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4842 PyObject
* _argo0
= 0;
4843 char *_kwnames
[] = { "self","x","y", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) return NULL
;
4861 } Py_INCREF(Py_None
);
4862 _resultobj
= Py_None
;
4866 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4867 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4872 PyObject
* _argo0
= 0;
4874 PyObject
* _obj1
= 0;
4875 char *_kwnames
[] = { "self","pt", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4890 if (! wxPoint_helper(_obj1
, &_arg1
))
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) return NULL
;
4899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4900 _resultobj
= Py_BuildValue("s",_ptemp
);
4904 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4905 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4910 PyObject
* _argo0
= 0;
4912 PyObject
* _obj1
= 0;
4913 char *_kwnames
[] = { "self","sz", NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4928 if (! wxSize_helper(_obj1
, &_arg1
))
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) return NULL
;
4937 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4938 _resultobj
= Py_BuildValue("s",_ptemp
);
4942 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4943 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
* _resultobj
;
4948 PyObject
* _argo0
= 0;
4950 PyObject
* _obj1
= 0;
4951 char *_kwnames
[] = { "self","pt", NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4966 if (! wxPoint_helper(_obj1
, &_arg1
))
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) return NULL
;
4975 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4976 _resultobj
= Py_BuildValue("s",_ptemp
);
4980 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4981 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4986 PyObject
* _argo0
= 0;
4988 PyObject
* _obj1
= 0;
4989 char *_kwnames
[] = { "self","sz", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5004 if (! wxSize_helper(_obj1
, &_arg1
))
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) return NULL
;
5013 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5014 _resultobj
= Py_BuildValue("s",_ptemp
);
5018 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5019 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5023 PyObject
* _argo0
= 0;
5024 PyObject
* _obj1
= 0;
5025 char *_kwnames
[] = { "self","tip", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5038 _arg1
= wxString_in_helper(_obj1
);
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) return NULL
;
5048 } Py_INCREF(Py_None
);
5049 _resultobj
= Py_None
;
5057 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5058 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5062 PyObject
* _argo0
= 0;
5063 PyObject
* _argo1
= 0;
5064 char *_kwnames
[] = { "self","tooltip", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 wxWindow_SetToolTip(_arg0
,_arg1
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) return NULL
;
5089 } Py_INCREF(Py_None
);
5090 _resultobj
= Py_None
;
5094 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5095 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5097 wxToolTip
* _result
;
5099 PyObject
* _argo0
= 0;
5100 char *_kwnames
[] = { "self", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) return NULL
;
5118 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5122 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5123 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5127 bool _arg2
= (bool ) TRUE
;
5128 PyObject
* _argo0
= 0;
5129 PyObject
* _argo1
= 0;
5130 int tempbool2
= (int) TRUE
;
5131 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5150 _arg2
= (bool ) tempbool2
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) return NULL
;
5157 } Py_INCREF(Py_None
);
5158 _resultobj
= Py_None
;
5162 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5163 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5167 PyObject
* _argo0
= 0;
5168 char *_kwnames
[] = { "self", NULL
};
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) return NULL
;
5186 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5190 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5191 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
* _resultobj
;
5195 PyObject
* _argo0
= 0;
5196 PyObject
* _argo1
= 0;
5197 char *_kwnames
[] = { "self","sizer", NULL
};
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) return NULL
;
5222 } Py_INCREF(Py_None
);
5223 _resultobj
= Py_None
;
5227 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5228 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
* _resultobj
;
5232 PyObject
* _argo0
= 0;
5233 char *_kwnames
[] = { "self", NULL
};
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) return NULL
;
5251 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5255 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5256 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5258 wxValidator
* _result
;
5260 PyObject
* _argo0
= 0;
5261 char *_kwnames
[] = { "self", NULL
};
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) return NULL
;
5279 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5283 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5284 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
* _resultobj
;
5287 wxValidator
* _arg1
;
5288 PyObject
* _argo0
= 0;
5289 PyObject
* _argo1
= 0;
5290 char *_kwnames
[] = { "self","validator", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 wxWindow_SetValidator(_arg0
,*_arg1
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) return NULL
;
5315 } Py_INCREF(Py_None
);
5316 _resultobj
= Py_None
;
5320 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5321 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
* _resultobj
;
5324 wxDropTarget
* _arg1
;
5325 PyObject
* _argo0
= 0;
5326 PyObject
* _argo1
= 0;
5327 char *_kwnames
[] = { "self","target", NULL
};
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 wxWindow_SetDropTarget(_arg0
,_arg1
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) return NULL
;
5352 } Py_INCREF(Py_None
);
5353 _resultobj
= Py_None
;
5357 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5358 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
* _resultobj
;
5360 wxDropTarget
* _result
;
5362 PyObject
* _argo0
= 0;
5363 char *_kwnames
[] = { "self", NULL
};
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) return NULL
;
5383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5384 _resultobj
= Py_BuildValue("s",_ptemp
);
5387 _resultobj
= Py_None
;
5392 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5393 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5397 PyObject
* _argo0
= 0;
5398 char *_kwnames
[] = { "self", NULL
};
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) return NULL
;
5417 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5418 _resultobj
= Py_BuildValue("s",_ptemp
);
5422 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5423 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5427 PyObject
* _argo0
= 0;
5428 char *_kwnames
[] = { "self", NULL
};
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) return NULL
;
5447 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5448 _resultobj
= Py_BuildValue("s",_ptemp
);
5452 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5453 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
* _resultobj
;
5457 PyObject
* _argo0
= 0;
5458 PyObject
* _argo1
= 0;
5459 char *_kwnames
[] = { "self","caret", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
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_SetCaret. Expected _wxWindow_p.");
5472 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 wxWindow_SetCaret(_arg0
,_arg1
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) return NULL
;
5484 } Py_INCREF(Py_None
);
5485 _resultobj
= Py_None
;
5489 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5490 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5494 PyObject
* _argo0
= 0;
5495 char *_kwnames
[] = { "self", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) return NULL
;
5515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5516 _resultobj
= Py_BuildValue("s",_ptemp
);
5519 _resultobj
= Py_None
;
5524 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5525 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
* _resultobj
;
5528 PyObject
* _argo0
= 0;
5529 char *_kwnames
[] = { "self", NULL
};
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 wxWindow_Freeze(_arg0
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) return NULL
;
5547 } Py_INCREF(Py_None
);
5548 _resultobj
= Py_None
;
5552 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5553 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5556 PyObject
* _argo0
= 0;
5557 char *_kwnames
[] = { "self", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxWindow_Thaw(_arg0
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) return NULL
;
5575 } Py_INCREF(Py_None
);
5576 _resultobj
= Py_None
;
5580 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5581 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
* _resultobj
;
5584 PyObject
* _argo0
= 0;
5585 char *_kwnames
[] = { "self", NULL
};
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 wxWindow_Update(_arg0
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5603 } Py_INCREF(Py_None
);
5604 _resultobj
= Py_None
;
5608 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5609 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5613 PyObject
* _argo0
= 0;
5614 char *_kwnames
[] = { "self", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) return NULL
;
5634 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5636 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5645 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5646 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
* _resultobj
;
5650 PyObject
* _argo0
= 0;
5651 PyObject
* _obj1
= 0;
5652 char *_kwnames
[] = { "self","helpText", NULL
};
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5665 _arg1
= wxString_in_helper(_obj1
);
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 wxWindow_SetHelpText(_arg0
,*_arg1
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) return NULL
;
5675 } Py_INCREF(Py_None
);
5676 _resultobj
= Py_None
;
5684 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5685 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5689 PyObject
* _argo0
= 0;
5690 PyObject
* _obj1
= 0;
5691 char *_kwnames
[] = { "self","text", NULL
};
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5704 _arg1
= wxString_in_helper(_obj1
);
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) return NULL
;
5714 } Py_INCREF(Py_None
);
5715 _resultobj
= Py_None
;
5723 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5724 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
* _resultobj
;
5729 PyObject
* _argo0
= 0;
5730 char *_kwnames
[] = { "self","lines", NULL
};
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) return NULL
;
5748 } _resultobj
= Py_BuildValue("i",_result
);
5752 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5753 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5758 PyObject
* _argo0
= 0;
5759 char *_kwnames
[] = { "self","pages", NULL
};
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) return NULL
;
5777 } _resultobj
= Py_BuildValue("i",_result
);
5781 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5782 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
* _resultobj
;
5786 PyObject
* _argo0
= 0;
5787 char *_kwnames
[] = { "self", NULL
};
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 _result
= (bool )wxWindow_LineUp(_arg0
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) return NULL
;
5805 } _resultobj
= Py_BuildValue("i",_result
);
5809 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5810 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
* _resultobj
;
5814 PyObject
* _argo0
= 0;
5815 char *_kwnames
[] = { "self", NULL
};
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 _result
= (bool )wxWindow_LineDown(_arg0
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) return NULL
;
5833 } _resultobj
= Py_BuildValue("i",_result
);
5837 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5838 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
* _resultobj
;
5842 PyObject
* _argo0
= 0;
5843 char *_kwnames
[] = { "self", NULL
};
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 _result
= (bool )wxWindow_PageUp(_arg0
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) return NULL
;
5861 } _resultobj
= Py_BuildValue("i",_result
);
5865 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5866 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
* _resultobj
;
5870 PyObject
* _argo0
= 0;
5871 char *_kwnames
[] = { "self", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 _result
= (bool )wxWindow_PageDown(_arg0
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) return NULL
;
5889 } _resultobj
= Py_BuildValue("i",_result
);
5893 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5896 char *_kwnames
[] = { NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 _result
= (wxWindow
*)wxWindow::FindFocus();
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) return NULL
;
5907 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5911 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5914 char *_kwnames
[] = { NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 _result
= (int )wxWindow::NewControlId();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) return NULL
;
5925 } _resultobj
= Py_BuildValue("i",_result
);
5929 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
* _resultobj
;
5933 char *_kwnames
[] = { "id", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 _result
= (int )wxWindow::NextControlId(_arg0
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) return NULL
;
5944 } _resultobj
= Py_BuildValue("i",_result
);
5948 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5952 char *_kwnames
[] = { "id", NULL
};
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 _result
= (int )wxWindow::PrevControlId(_arg0
);
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) return NULL
;
5963 } _resultobj
= Py_BuildValue("i",_result
);
5967 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5968 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
* _resultobj
;
5971 wxAcceleratorTable
* _arg1
;
5972 PyObject
* _argo0
= 0;
5973 PyObject
* _argo1
= 0;
5974 char *_kwnames
[] = { "self","accel", NULL
};
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
5980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
5987 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5988 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
5989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) return NULL
;
5999 } Py_INCREF(Py_None
);
6000 _resultobj
= Py_None
;
6004 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6005 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
* _resultobj
;
6007 wxAcceleratorTable
* _result
;
6009 PyObject
* _argo0
= 0;
6010 char *_kwnames
[] = { "self", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) return NULL
;
6030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6031 _resultobj
= Py_BuildValue("s",_ptemp
);
6034 _resultobj
= Py_None
;
6039 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6040 static PyObject
*_wrap_wxWindow_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6043 wxPaintEvent
* _arg1
;
6044 PyObject
* _argo0
= 0;
6045 PyObject
* _argo1
= 0;
6046 char *_kwnames
[] = { "self","event", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_OnPaint",_kwnames
,&_argo0
,&_argo1
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaintEvent_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 wxWindow_OnPaint(_arg0
,*_arg1
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) return NULL
;
6071 } Py_INCREF(Py_None
);
6072 _resultobj
= Py_None
;
6076 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6077 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
* _resultobj
;
6081 PyObject
* _argo0
= 0;
6082 char *_kwnames
[] = { "self", NULL
};
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) return NULL
;
6100 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6104 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6105 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6110 PyObject
* _argo0
= 0;
6111 PyObject
* _argo1
= 0;
6112 char *_kwnames
[] = { "self","btn", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) return NULL
;
6137 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6141 static void *SwigwxPanelTowxWindow(void *ptr
) {
6144 src
= (wxPanel
*) ptr
;
6145 dest
= (wxWindow
*) src
;
6146 return (void *) dest
;
6149 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6152 src
= (wxPanel
*) ptr
;
6153 dest
= (wxEvtHandler
*) src
;
6154 return (void *) dest
;
6157 static void *SwigwxPanelTowxObject(void *ptr
) {
6160 src
= (wxPanel
*) ptr
;
6161 dest
= (wxObject
*) src
;
6162 return (void *) dest
;
6165 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6166 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
* _resultobj
;
6171 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6172 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6173 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6174 char * _arg5
= (char *) "panel";
6175 PyObject
* _argo0
= 0;
6177 PyObject
* _obj2
= 0;
6179 PyObject
* _obj3
= 0;
6180 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6196 if (! wxPoint_helper(_obj2
, &_arg2
))
6202 if (! wxSize_helper(_obj3
, &_arg3
))
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) return NULL
;
6212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6213 _resultobj
= Py_BuildValue("s",_ptemp
);
6216 _resultobj
= Py_None
;
6221 #define new_wxPrePanel() (new wxPanel())
6222 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6225 char *_kwnames
[] = { NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 _result
= (wxPanel
*)new_wxPrePanel();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) return NULL
;
6238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6239 _resultobj
= Py_BuildValue("s",_ptemp
);
6242 _resultobj
= Py_None
;
6247 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6248 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6254 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6255 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6256 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6257 char * _arg6
= (char *) "panel";
6258 PyObject
* _argo0
= 0;
6259 PyObject
* _argo1
= 0;
6261 PyObject
* _obj3
= 0;
6263 PyObject
* _obj4
= 0;
6264 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6286 if (! wxPoint_helper(_obj3
, &_arg3
))
6292 if (! wxSize_helper(_obj4
, &_arg4
))
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) return NULL
;
6301 } _resultobj
= Py_BuildValue("i",_result
);
6305 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6306 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
* _resultobj
;
6309 PyObject
* _argo0
= 0;
6310 char *_kwnames
[] = { "self", NULL
};
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 wxPanel_InitDialog(_arg0
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) return NULL
;
6328 } Py_INCREF(Py_None
);
6329 _resultobj
= Py_None
;
6333 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6334 wxScrolledWindow
*src
;
6336 src
= (wxScrolledWindow
*) ptr
;
6337 dest
= (wxPanel
*) src
;
6338 return (void *) dest
;
6341 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6342 wxScrolledWindow
*src
;
6344 src
= (wxScrolledWindow
*) ptr
;
6345 dest
= (wxWindow
*) src
;
6346 return (void *) dest
;
6349 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6350 wxScrolledWindow
*src
;
6352 src
= (wxScrolledWindow
*) ptr
;
6353 dest
= (wxEvtHandler
*) src
;
6354 return (void *) dest
;
6357 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6358 wxScrolledWindow
*src
;
6360 src
= (wxScrolledWindow
*) ptr
;
6361 dest
= (wxObject
*) src
;
6362 return (void *) dest
;
6365 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6366 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6368 wxScrolledWindow
* _result
;
6370 wxWindowID _arg1
= (wxWindowID
) -1;
6371 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6372 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6373 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6374 char * _arg5
= (char *) "scrolledWindow";
6375 PyObject
* _argo0
= 0;
6377 PyObject
* _obj2
= 0;
6379 PyObject
* _obj3
= 0;
6380 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6396 if (! wxPoint_helper(_obj2
, &_arg2
))
6402 if (! wxSize_helper(_obj3
, &_arg3
))
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) return NULL
;
6412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6413 _resultobj
= Py_BuildValue("s",_ptemp
);
6416 _resultobj
= Py_None
;
6421 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6422 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
* _resultobj
;
6424 wxScrolledWindow
* _result
;
6425 char *_kwnames
[] = { NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) return NULL
;
6438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6439 _resultobj
= Py_BuildValue("s",_ptemp
);
6442 _resultobj
= Py_None
;
6447 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6448 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6451 wxScrolledWindow
* _arg0
;
6453 wxWindowID _arg2
= (wxWindowID
) -1;
6454 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6455 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6456 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6457 char * _arg6
= (char *) "scrolledWindow";
6458 PyObject
* _argo0
= 0;
6459 PyObject
* _argo1
= 0;
6461 PyObject
* _obj3
= 0;
6463 PyObject
* _obj4
= 0;
6464 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6486 if (! wxPoint_helper(_obj3
, &_arg3
))
6492 if (! wxSize_helper(_obj4
, &_arg4
))
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) return NULL
;
6501 } _resultobj
= Py_BuildValue("i",_result
);
6505 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6506 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
* _resultobj
;
6508 wxScrolledWindow
* _arg0
;
6511 PyObject
* _argo0
= 0;
6514 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6526 _arg1
= (bool ) tempbool1
;
6527 _arg2
= (bool ) tempbool2
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) return NULL
;
6534 } Py_INCREF(Py_None
);
6535 _resultobj
= Py_None
;
6539 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6540 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6543 wxScrolledWindow
* _arg0
;
6545 PyObject
* _argo0
= 0;
6546 char *_kwnames
[] = { "self","orient", NULL
};
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) return NULL
;
6564 } _resultobj
= Py_BuildValue("i",_result
);
6568 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6569 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
* _resultobj
;
6571 wxScrolledWindow
* _arg0
;
6576 PyObject
* _argo0
= 0;
6577 char *_kwnames
[] = { "self", NULL
};
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) return NULL
;
6601 } Py_INCREF(Py_None
);
6602 _resultobj
= Py_None
;
6605 o
= PyInt_FromLong((long) (*_arg1
));
6606 _resultobj
= t_output_helper(_resultobj
, o
);
6610 o
= PyInt_FromLong((long) (*_arg2
));
6611 _resultobj
= t_output_helper(_resultobj
, o
);
6616 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6617 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
* _resultobj
;
6620 wxScrolledWindow
* _arg0
;
6621 PyObject
* _argo0
= 0;
6622 char *_kwnames
[] = { "self", NULL
};
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) return NULL
;
6640 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6644 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6645 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
* _resultobj
;
6647 wxScrolledWindow
* _arg0
;
6652 PyObject
* _argo0
= 0;
6653 char *_kwnames
[] = { "self", NULL
};
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) return NULL
;
6677 } Py_INCREF(Py_None
);
6678 _resultobj
= Py_None
;
6681 o
= PyInt_FromLong((long) (*_arg1
));
6682 _resultobj
= t_output_helper(_resultobj
, o
);
6686 o
= PyInt_FromLong((long) (*_arg2
));
6687 _resultobj
= t_output_helper(_resultobj
, o
);
6692 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6693 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
* _resultobj
;
6696 wxScrolledWindow
* _arg0
;
6697 PyObject
* _argo0
= 0;
6698 char *_kwnames
[] = { "self", NULL
};
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) return NULL
;
6716 } _resultobj
= Py_BuildValue("i",_result
);
6720 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6721 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
* _resultobj
;
6723 wxScrolledWindow
* _arg0
;
6725 PyObject
* _argo0
= 0;
6726 PyObject
* _argo1
= 0;
6727 char *_kwnames
[] = { "self","dc", NULL
};
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) return NULL
;
6752 } Py_INCREF(Py_None
);
6753 _resultobj
= Py_None
;
6757 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6758 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6760 wxScrolledWindow
* _arg0
;
6763 PyObject
* _argo0
= 0;
6764 char *_kwnames
[] = { "self","x","y", NULL
};
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) return NULL
;
6782 } Py_INCREF(Py_None
);
6783 _resultobj
= Py_None
;
6787 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6788 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6790 wxScrolledWindow
* _arg0
;
6795 int _arg5
= (int ) 0;
6796 int _arg6
= (int ) 0;
6797 int _arg7
= (int ) FALSE
;
6798 PyObject
* _argo0
= 0;
6799 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) return NULL
;
6817 } Py_INCREF(Py_None
);
6818 _resultobj
= Py_None
;
6822 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6823 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6825 wxScrolledWindow
* _arg0
;
6828 PyObject
* _argo0
= 0;
6829 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) return NULL
;
6847 } Py_INCREF(Py_None
);
6848 _resultobj
= Py_None
;
6852 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6853 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
* _resultobj
;
6855 wxScrolledWindow
* _arg0
;
6857 PyObject
* _argo0
= 0;
6858 PyObject
* _argo1
= 0;
6859 char *_kwnames
[] = { "self","window", NULL
};
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) return NULL
;
6884 } Py_INCREF(Py_None
);
6885 _resultobj
= Py_None
;
6889 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6890 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6892 wxScrolledWindow
* _arg0
;
6897 PyObject
* _argo0
= 0;
6898 char *_kwnames
[] = { "self", NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) return NULL
;
6922 } Py_INCREF(Py_None
);
6923 _resultobj
= Py_None
;
6926 o
= PyInt_FromLong((long) (*_arg1
));
6927 _resultobj
= t_output_helper(_resultobj
, o
);
6931 o
= PyInt_FromLong((long) (*_arg2
));
6932 _resultobj
= t_output_helper(_resultobj
, o
);
6937 #define wxScrolledWindow_CalcScrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6938 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
* _resultobj
;
6940 wxScrolledWindow
* _arg0
;
6947 PyObject
* _argo0
= 0;
6948 char *_kwnames
[] = { "self","x","y", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition. Expected _wxScrolledWindow_p.");
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 wxScrolledWindow_CalcScrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) return NULL
;
6972 } Py_INCREF(Py_None
);
6973 _resultobj
= Py_None
;
6976 o
= PyInt_FromLong((long) (*_arg3
));
6977 _resultobj
= t_output_helper(_resultobj
, o
);
6981 o
= PyInt_FromLong((long) (*_arg4
));
6982 _resultobj
= t_output_helper(_resultobj
, o
);
6987 #define wxScrolledWindow_CalcUnscrolledPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6988 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
* _resultobj
;
6990 wxScrolledWindow
* _arg0
;
6997 PyObject
* _argo0
= 0;
6998 char *_kwnames
[] = { "self","x","y", NULL
};
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition. Expected _wxScrolledWindow_p.");
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 wxScrolledWindow_CalcUnscrolledPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) return NULL
;
7022 } Py_INCREF(Py_None
);
7023 _resultobj
= Py_None
;
7026 o
= PyInt_FromLong((long) (*_arg3
));
7027 _resultobj
= t_output_helper(_resultobj
, o
);
7031 o
= PyInt_FromLong((long) (*_arg4
));
7032 _resultobj
= t_output_helper(_resultobj
, o
);
7037 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7038 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
* _resultobj
;
7040 wxScrolledWindow
* _arg0
;
7043 PyObject
* _argo0
= 0;
7044 char *_kwnames
[] = { "self","xs","ys", NULL
};
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) return NULL
;
7062 } Py_INCREF(Py_None
);
7063 _resultobj
= Py_None
;
7067 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7068 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
* _resultobj
;
7071 wxScrolledWindow
* _arg0
;
7072 PyObject
* _argo0
= 0;
7073 char *_kwnames
[] = { "self", NULL
};
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) return NULL
;
7091 } _resultobj
= Py_BuildValue("d",_result
);
7095 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7096 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
* _resultobj
;
7099 wxScrolledWindow
* _arg0
;
7100 PyObject
* _argo0
= 0;
7101 char *_kwnames
[] = { "self", NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) return NULL
;
7119 } _resultobj
= Py_BuildValue("d",_result
);
7123 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7124 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
* _resultobj
;
7126 wxScrolledWindow
* _arg0
;
7127 PyObject
* _argo0
= 0;
7128 char *_kwnames
[] = { "self", NULL
};
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 wxScrolledWindow_AdjustScrollbars(_arg0
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) return NULL
;
7146 } Py_INCREF(Py_None
);
7147 _resultobj
= Py_None
;
7151 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7152 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
* _resultobj
;
7155 wxScrolledWindow
* _arg0
;
7156 PyObject
* _argo0
= 0;
7157 char *_kwnames
[] = { "self", NULL
};
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) return NULL
;
7175 } _resultobj
= Py_BuildValue("i",_result
);
7179 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7182 src
= (wxMenu
*) ptr
;
7183 dest
= (wxEvtHandler
*) src
;
7184 return (void *) dest
;
7187 static void *SwigwxMenuTowxObject(void *ptr
) {
7190 src
= (wxMenu
*) ptr
;
7191 dest
= (wxObject
*) src
;
7192 return (void *) dest
;
7195 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7196 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
* _resultobj
;
7199 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
7200 long _arg1
= (long ) 0;
7201 PyObject
* _obj0
= 0;
7202 char *_kwnames
[] = { "title","style", NULL
};
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7210 _arg0
= wxString_in_helper(_obj0
);
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) return NULL
;
7221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7222 _resultobj
= Py_BuildValue("s",_ptemp
);
7225 _resultobj
= Py_None
;
7234 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7235 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
* _resultobj
;
7240 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7241 int _arg4
= (int ) FALSE
;
7242 PyObject
* _argo0
= 0;
7243 PyObject
* _obj2
= 0;
7244 PyObject
* _obj3
= 0;
7245 char *_kwnames
[] = { "self","id","item","helpString","checkable", NULL
};
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7258 _arg2
= wxString_in_helper(_obj2
);
7264 _arg3
= wxString_in_helper(_obj3
);
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) return NULL
;
7274 } Py_INCREF(Py_None
);
7275 _resultobj
= Py_None
;
7287 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7288 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7294 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7295 PyObject
* _argo0
= 0;
7296 PyObject
* _obj2
= 0;
7297 PyObject
* _argo3
= 0;
7298 PyObject
* _obj4
= 0;
7299 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7312 _arg2
= wxString_in_helper(_obj2
);
7317 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7318 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7325 _arg4
= wxString_in_helper(_obj4
);
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) return NULL
;
7335 } Py_INCREF(Py_None
);
7336 _resultobj
= Py_None
;
7348 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7349 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
* _resultobj
;
7353 PyObject
* _argo0
= 0;
7354 PyObject
* _argo1
= 0;
7355 char *_kwnames
[] = { "self","item", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 wxMenu_AppendItem(_arg0
,_arg1
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) return NULL
;
7380 } Py_INCREF(Py_None
);
7381 _resultobj
= Py_None
;
7385 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7386 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
* _resultobj
;
7389 PyObject
* _argo0
= 0;
7390 char *_kwnames
[] = { "self", NULL
};
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 wxMenu_AppendSeparator(_arg0
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) return NULL
;
7408 } Py_INCREF(Py_None
);
7409 _resultobj
= Py_None
;
7413 #define wxMenu_Break(_swigobj) (_swigobj->Break())
7414 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
* _resultobj
;
7417 PyObject
* _argo0
= 0;
7418 char *_kwnames
[] = { "self", NULL
};
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
7424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 wxMenu_Break(_arg0
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) return NULL
;
7436 } Py_INCREF(Py_None
);
7437 _resultobj
= Py_None
;
7441 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
7442 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
* _resultobj
;
7447 PyObject
* _argo0
= 0;
7449 char *_kwnames
[] = { "self","id","flag", NULL
};
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
7461 _arg2
= (bool ) tempbool2
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 wxMenu_Check(_arg0
,_arg1
,_arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) return NULL
;
7468 } Py_INCREF(Py_None
);
7469 _resultobj
= Py_None
;
7473 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
7474 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7480 char *_kwnames
[] = { "self","id", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) return NULL
;
7498 } _resultobj
= Py_BuildValue("i",_result
);
7502 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7503 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
* _resultobj
;
7508 PyObject
* _argo0
= 0;
7510 char *_kwnames
[] = { "self","id","enable", NULL
};
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
7522 _arg2
= (bool ) tempbool2
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) return NULL
;
7529 } Py_INCREF(Py_None
);
7530 _resultobj
= Py_None
;
7534 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
7535 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
* _resultobj
;
7540 PyObject
* _argo0
= 0;
7541 char *_kwnames
[] = { "self","id", NULL
};
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
7547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) return NULL
;
7559 } _resultobj
= Py_BuildValue("i",_result
);
7563 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7564 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
* _resultobj
;
7569 PyObject
* _argo0
= 0;
7570 PyObject
* _obj1
= 0;
7571 char *_kwnames
[] = { "self","itemString", NULL
};
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
7577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
7584 _arg1
= wxString_in_helper(_obj1
);
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) return NULL
;
7594 } _resultobj
= Py_BuildValue("i",_result
);
7602 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
7603 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
* _resultobj
;
7605 wxMenuItem
* _result
;
7608 PyObject
* _argo0
= 0;
7609 char *_kwnames
[] = { "self","id", NULL
};
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
7615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) return NULL
;
7627 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7631 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
7632 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
* _resultobj
;
7636 PyObject
* _argo0
= 0;
7637 char *_kwnames
[] = { "self", NULL
};
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
7643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 _result
= new wxString (wxMenu_GetTitle(_arg0
));
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) return NULL
;
7657 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7659 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7668 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
7669 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
* _resultobj
;
7673 PyObject
* _argo0
= 0;
7674 PyObject
* _obj1
= 0;
7675 char *_kwnames
[] = { "self","title", NULL
};
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
7681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
7688 _arg1
= wxString_in_helper(_obj1
);
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 wxMenu_SetTitle(_arg0
,*_arg1
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) return NULL
;
7698 } Py_INCREF(Py_None
);
7699 _resultobj
= Py_None
;
7707 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7708 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
* _resultobj
;
7713 PyObject
* _argo0
= 0;
7714 char *_kwnames
[] = { "self","id", NULL
};
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
7720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) return NULL
;
7734 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7736 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7745 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7746 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
* _resultobj
;
7751 PyObject
* _argo0
= 0;
7752 PyObject
* _obj2
= 0;
7753 char *_kwnames
[] = { "self","id","label", NULL
};
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
7766 _arg2
= wxString_in_helper(_obj2
);
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) return NULL
;
7776 } Py_INCREF(Py_None
);
7777 _resultobj
= Py_None
;
7785 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
7786 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
* _resultobj
;
7791 PyObject
* _argo0
= 0;
7792 char *_kwnames
[] = { "self","id", NULL
};
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
7798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) return NULL
;
7812 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7814 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7823 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
7824 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
* _resultobj
;
7829 PyObject
* _argo0
= 0;
7830 PyObject
* _obj2
= 0;
7831 char *_kwnames
[] = { "self","id","helpString", NULL
};
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
7844 _arg2
= wxString_in_helper(_obj2
);
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) return NULL
;
7854 } Py_INCREF(Py_None
);
7855 _resultobj
= Py_None
;
7863 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
7864 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
* _resultobj
;
7867 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
7868 PyObject
* _argo0
= 0;
7869 PyObject
* _argo1
= 0;
7870 char *_kwnames
[] = { "self","source", NULL
};
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
7876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
7883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 wxMenu_UpdateUI(_arg0
,_arg1
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) return NULL
;
7895 } Py_INCREF(Py_None
);
7896 _resultobj
= Py_None
;
7900 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7901 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
* _resultobj
;
7906 PyObject
* _argo0
= 0;
7907 char *_kwnames
[] = { "self","id", NULL
};
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
7913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) return NULL
;
7925 } _resultobj
= Py_BuildValue("i",_result
);
7929 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7930 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
* _resultobj
;
7935 PyObject
* _argo0
= 0;
7936 PyObject
* _argo1
= 0;
7937 char *_kwnames
[] = { "self","item", NULL
};
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
7943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
7950 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7951 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) return NULL
;
7962 } _resultobj
= Py_BuildValue("i",_result
);
7966 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7967 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
* _resultobj
;
7973 PyObject
* _argo0
= 0;
7974 PyObject
* _argo2
= 0;
7975 char *_kwnames
[] = { "self","pos","item", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7988 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7989 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_Insert. Expected _wxMenuItem_p.");
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 _result
= (bool )wxMenu_Insert(_arg0
,_arg1
,_arg2
);
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) return NULL
;
8000 } _resultobj
= Py_BuildValue("i",_result
);
8004 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8005 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
* _resultobj
;
8007 wxMenuItem
* _result
;
8010 PyObject
* _argo0
= 0;
8011 char *_kwnames
[] = { "self","id", NULL
};
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) return NULL
;
8029 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8033 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8034 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
* _resultobj
;
8036 wxMenuItem
* _result
;
8039 PyObject
* _argo0
= 0;
8040 PyObject
* _argo1
= 0;
8041 char *_kwnames
[] = { "self","item", NULL
};
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
8047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) return NULL
;
8066 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8070 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8071 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
* _resultobj
;
8074 PyObject
* _argo0
= 0;
8075 char *_kwnames
[] = { "self", NULL
};
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
8081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 wxMenu_Destroy(_arg0
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) return NULL
;
8093 } Py_INCREF(Py_None
);
8094 _resultobj
= Py_None
;
8098 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8099 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
* _resultobj
;
8104 PyObject
* _argo0
= 0;
8105 char *_kwnames
[] = { "self","id", NULL
};
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
8111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) return NULL
;
8123 } _resultobj
= Py_BuildValue("i",_result
);
8127 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8128 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
* _resultobj
;
8133 PyObject
* _argo0
= 0;
8134 PyObject
* _argo1
= 0;
8135 char *_kwnames
[] = { "self","item", NULL
};
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
8141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) return NULL
;
8160 } _resultobj
= Py_BuildValue("i",_result
);
8164 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8165 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
* _resultobj
;
8169 PyObject
* _argo0
= 0;
8170 char *_kwnames
[] = { "self", NULL
};
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
8176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) return NULL
;
8188 } _resultobj
= Py_BuildValue("i",_result
);
8192 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
8193 wxMenuItemList
& list
= self
->GetMenuItems();
8194 return wxPy_ConvertList(&list
, "wxMenuItem");
8196 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
* _resultobj
;
8200 PyObject
* _argo0
= 0;
8201 char *_kwnames
[] = { "self", NULL
};
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
8207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) return NULL
;
8220 _resultobj
= _result
;
8225 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
8226 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
* _resultobj
;
8229 wxEvtHandler
* _arg1
;
8230 PyObject
* _argo0
= 0;
8231 PyObject
* _argo1
= 0;
8232 char *_kwnames
[] = { "self","handler", NULL
};
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
8238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 wxMenu_SetEventHandler(_arg0
,_arg1
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) return NULL
;
8257 } Py_INCREF(Py_None
);
8258 _resultobj
= Py_None
;
8262 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
8263 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
* _resultobj
;
8265 wxEvtHandler
* _result
;
8267 PyObject
* _argo0
= 0;
8268 char *_kwnames
[] = { "self", NULL
};
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
8274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) return NULL
;
8286 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8290 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
8291 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
* _resultobj
;
8295 PyObject
* _argo0
= 0;
8296 PyObject
* _argo1
= 0;
8297 char *_kwnames
[] = { "self","win", NULL
};
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
8303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
8310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) return NULL
;
8322 } Py_INCREF(Py_None
);
8323 _resultobj
= Py_None
;
8327 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
8328 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
* _resultobj
;
8332 PyObject
* _argo0
= 0;
8333 char *_kwnames
[] = { "self", NULL
};
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
8339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) return NULL
;
8351 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8355 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
8356 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
* _resultobj
;
8360 PyObject
* _argo0
= 0;
8361 char *_kwnames
[] = { "self", NULL
};
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
8367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 _result
= (long )wxMenu_GetStyle(_arg0
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) return NULL
;
8379 } _resultobj
= Py_BuildValue("l",_result
);
8383 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
8384 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
* _resultobj
;
8388 PyObject
* _argo0
= 0;
8389 char *_kwnames
[] = { "self", NULL
};
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
8395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 _result
= (bool )wxMenu_IsAttached(_arg0
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) return NULL
;
8407 } _resultobj
= Py_BuildValue("i",_result
);
8411 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
8412 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
* _resultobj
;
8416 PyObject
* _argo0
= 0;
8417 PyObject
* _argo1
= 0;
8418 char *_kwnames
[] = { "self","parent", NULL
};
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
8424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
8431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 wxMenu_SetParent(_arg0
,_arg1
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) return NULL
;
8443 } Py_INCREF(Py_None
);
8444 _resultobj
= Py_None
;
8448 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
8449 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
* _resultobj
;
8453 PyObject
* _argo0
= 0;
8454 char *_kwnames
[] = { "self", NULL
};
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
8460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) return NULL
;
8472 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8476 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
8479 src
= (wxMenuBar
*) ptr
;
8480 dest
= (wxWindow
*) src
;
8481 return (void *) dest
;
8484 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
8487 src
= (wxMenuBar
*) ptr
;
8488 dest
= (wxEvtHandler
*) src
;
8489 return (void *) dest
;
8492 static void *SwigwxMenuBarTowxObject(void *ptr
) {
8495 src
= (wxMenuBar
*) ptr
;
8496 dest
= (wxObject
*) src
;
8497 return (void *) dest
;
8500 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
8501 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
* _resultobj
;
8503 wxMenuBar
* _result
;
8504 long _arg0
= (long ) 0;
8505 char *_kwnames
[] = { "style", NULL
};
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) return NULL
;
8518 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
8519 _resultobj
= Py_BuildValue("s",_ptemp
);
8522 _resultobj
= Py_None
;
8527 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
8528 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
* _resultobj
;
8534 PyObject
* _argo0
= 0;
8535 PyObject
* _argo1
= 0;
8536 PyObject
* _obj2
= 0;
8537 char *_kwnames
[] = { "self","menu","title", NULL
};
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
8550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
8552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
8557 _arg2
= wxString_in_helper(_obj2
);
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) return NULL
;
8567 } _resultobj
= Py_BuildValue("i",_result
);
8575 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
8576 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
* _resultobj
;
8583 PyObject
* _argo0
= 0;
8584 PyObject
* _argo2
= 0;
8585 PyObject
* _obj3
= 0;
8586 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
8599 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8600 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
8606 _arg3
= wxString_in_helper(_obj3
);
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) return NULL
;
8616 } _resultobj
= Py_BuildValue("i",_result
);
8624 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
8625 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
* _resultobj
;
8629 PyObject
* _argo0
= 0;
8630 char *_kwnames
[] = { "self", NULL
};
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
8636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) return NULL
;
8648 } _resultobj
= Py_BuildValue("i",_result
);
8652 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
8653 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
* _resultobj
;
8658 PyObject
* _argo0
= 0;
8659 char *_kwnames
[] = { "self","pos", NULL
};
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
8665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) return NULL
;
8677 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8681 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8682 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
* _resultobj
;
8689 PyObject
* _argo0
= 0;
8690 PyObject
* _argo2
= 0;
8691 PyObject
* _obj3
= 0;
8692 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
8698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
8705 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8706 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
8707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
8712 _arg3
= wxString_in_helper(_obj3
);
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) return NULL
;
8722 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8730 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8731 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
* _resultobj
;
8736 PyObject
* _argo0
= 0;
8737 char *_kwnames
[] = { "self","pos", NULL
};
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
8743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) return NULL
;
8755 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8759 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
8760 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
* _resultobj
;
8765 PyObject
* _argo0
= 0;
8767 char *_kwnames
[] = { "self","pos","enable", NULL
};
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
8779 _arg2
= (bool ) tempbool2
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) return NULL
;
8786 } Py_INCREF(Py_None
);
8787 _resultobj
= Py_None
;
8791 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
8792 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
* _resultobj
;
8797 PyObject
* _argo0
= 0;
8798 PyObject
* _obj2
= 0;
8799 char *_kwnames
[] = { "self","pos","label", NULL
};
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
8812 _arg2
= wxString_in_helper(_obj2
);
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) return NULL
;
8822 } Py_INCREF(Py_None
);
8823 _resultobj
= Py_None
;
8831 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
8832 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
* _resultobj
;
8837 PyObject
* _argo0
= 0;
8838 char *_kwnames
[] = { "self","pos", NULL
};
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
8844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) return NULL
;
8858 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8860 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8869 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
8870 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
* _resultobj
;
8875 PyObject
* _argo0
= 0;
8876 PyObject
* _obj1
= 0;
8877 char *_kwnames
[] = { "self","title", NULL
};
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
8883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
8890 _arg1
= wxString_in_helper(_obj1
);
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) return NULL
;
8900 } _resultobj
= Py_BuildValue("i",_result
);
8908 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
8909 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
* _resultobj
;
8915 PyObject
* _argo0
= 0;
8916 PyObject
* _obj1
= 0;
8917 PyObject
* _obj2
= 0;
8918 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
8931 _arg1
= wxString_in_helper(_obj1
);
8936 _arg2
= wxString_in_helper(_obj2
);
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) return NULL
;
8946 } _resultobj
= Py_BuildValue("i",_result
);
8958 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8959 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
* _resultobj
;
8961 wxMenuItem
* _result
;
8964 PyObject
* _argo0
= 0;
8965 char *_kwnames
[] = { "self","id", NULL
};
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
8973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) return NULL
;
8983 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8987 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8988 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
* _resultobj
;
8993 PyObject
* _argo0
= 0;
8995 char *_kwnames
[] = { "self","id","enable", NULL
};
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9007 _arg2
= (bool ) tempbool2
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) return NULL
;
9014 } Py_INCREF(Py_None
);
9015 _resultobj
= Py_None
;
9019 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9020 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
* _resultobj
;
9025 PyObject
* _argo0
= 0;
9027 char *_kwnames
[] = { "self","id","check", NULL
};
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9039 _arg2
= (bool ) tempbool2
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) return NULL
;
9046 } Py_INCREF(Py_None
);
9047 _resultobj
= Py_None
;
9051 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9052 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
* _resultobj
;
9057 PyObject
* _argo0
= 0;
9058 char *_kwnames
[] = { "self","id", NULL
};
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) return NULL
;
9076 } _resultobj
= Py_BuildValue("i",_result
);
9080 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9081 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
* _resultobj
;
9086 PyObject
* _argo0
= 0;
9087 char *_kwnames
[] = { "self","id", NULL
};
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) return NULL
;
9105 } _resultobj
= Py_BuildValue("i",_result
);
9109 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9110 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
* _resultobj
;
9115 PyObject
* _argo0
= 0;
9116 PyObject
* _obj2
= 0;
9117 char *_kwnames
[] = { "self","id","label", NULL
};
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9130 _arg2
= wxString_in_helper(_obj2
);
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) return NULL
;
9140 } Py_INCREF(Py_None
);
9141 _resultobj
= Py_None
;
9149 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9150 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
* _resultobj
;
9155 PyObject
* _argo0
= 0;
9156 char *_kwnames
[] = { "self","id", NULL
};
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) return NULL
;
9176 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9178 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9187 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9188 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
* _resultobj
;
9193 PyObject
* _argo0
= 0;
9194 PyObject
* _obj2
= 0;
9195 char *_kwnames
[] = { "self","id","helpString", NULL
};
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9208 _arg2
= wxString_in_helper(_obj2
);
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) return NULL
;
9218 } Py_INCREF(Py_None
);
9219 _resultobj
= Py_None
;
9227 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9228 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
* _resultobj
;
9233 PyObject
* _argo0
= 0;
9234 char *_kwnames
[] = { "self","id", NULL
};
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) return NULL
;
9254 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9256 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9265 static void *SwigwxMenuItemTowxObject(void *ptr
) {
9268 src
= (wxMenuItem
*) ptr
;
9269 dest
= (wxObject
*) src
;
9270 return (void *) dest
;
9273 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9274 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
* _resultobj
;
9276 wxMenuItem
* _result
;
9277 wxMenu
* _arg0
= (wxMenu
*) NULL
;
9278 int _arg1
= (int ) wxID_SEPARATOR
;
9279 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9280 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
9281 bool _arg4
= (bool ) FALSE
;
9282 wxMenu
* _arg5
= (wxMenu
*) NULL
;
9283 PyObject
* _argo0
= 0;
9284 PyObject
* _obj2
= 0;
9285 PyObject
* _obj3
= 0;
9286 int tempbool4
= (int) FALSE
;
9287 PyObject
* _argo5
= 0;
9288 char *_kwnames
[] = { "parentMenu","id","text","help","isCheckable","subMenu", NULL
};
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&tempbool4
,&_argo5
))
9295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
9303 _arg2
= wxString_in_helper(_obj2
);
9309 _arg3
= wxString_in_helper(_obj3
);
9313 _arg4
= (bool ) tempbool4
;
9315 if (_argo5
== Py_None
) { _arg5
= NULL
; }
9316 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
9317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) return NULL
;
9328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
9329 _resultobj
= Py_BuildValue("s",_ptemp
);
9332 _resultobj
= Py_None
;
9345 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
9346 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
* _resultobj
;
9350 PyObject
* _argo0
= 0;
9351 char *_kwnames
[] = { "self", NULL
};
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
9357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) return NULL
;
9369 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9373 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
9374 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
* _resultobj
;
9378 PyObject
* _argo0
= 0;
9379 char *_kwnames
[] = { "self","id", NULL
};
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
9385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 wxMenuItem_SetId(_arg0
,_arg1
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) return NULL
;
9397 } Py_INCREF(Py_None
);
9398 _resultobj
= Py_None
;
9402 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
9403 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
* _resultobj
;
9407 PyObject
* _argo0
= 0;
9408 char *_kwnames
[] = { "self", NULL
};
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
9414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 _result
= (int )wxMenuItem_GetId(_arg0
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) return NULL
;
9426 } _resultobj
= Py_BuildValue("i",_result
);
9430 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
9431 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
* _resultobj
;
9435 PyObject
* _argo0
= 0;
9436 char *_kwnames
[] = { "self", NULL
};
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
9442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) return NULL
;
9454 } _resultobj
= Py_BuildValue("i",_result
);
9458 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
9459 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
* _resultobj
;
9463 PyObject
* _argo0
= 0;
9464 PyObject
* _obj1
= 0;
9465 char *_kwnames
[] = { "self","str", NULL
};
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
9471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
9478 _arg1
= wxString_in_helper(_obj1
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 wxMenuItem_SetText(_arg0
,*_arg1
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) return NULL
;
9488 } Py_INCREF(Py_None
);
9489 _resultobj
= Py_None
;
9497 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
9498 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
* _resultobj
;
9502 PyObject
* _argo0
= 0;
9503 char *_kwnames
[] = { "self", NULL
};
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
9509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) return NULL
;
9523 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9525 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9534 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
9535 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
* _resultobj
;
9539 PyObject
* _argo0
= 0;
9540 char *_kwnames
[] = { "self", NULL
};
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
9546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
9555 _result
= (wxString
*) &_result_ref
;
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) return NULL
;
9561 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9563 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9569 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
9570 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
* _resultobj
;
9574 PyObject
* _argo0
= 0;
9576 char *_kwnames
[] = { "self","checkable", NULL
};
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
9582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
9588 _arg1
= (bool ) tempbool1
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 wxMenuItem_SetCheckable(_arg0
,_arg1
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) return NULL
;
9595 } Py_INCREF(Py_None
);
9596 _resultobj
= Py_None
;
9600 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
9601 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
* _resultobj
;
9605 PyObject
* _argo0
= 0;
9606 char *_kwnames
[] = { "self", NULL
};
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
9612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) return NULL
;
9624 } _resultobj
= Py_BuildValue("i",_result
);
9628 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
9629 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
* _resultobj
;
9633 PyObject
* _argo0
= 0;
9634 char *_kwnames
[] = { "self", NULL
};
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
9640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) return NULL
;
9652 } _resultobj
= Py_BuildValue("i",_result
);
9656 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
9657 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
* _resultobj
;
9661 PyObject
* _argo0
= 0;
9662 PyObject
* _argo1
= 0;
9663 char *_kwnames
[] = { "self","menu", NULL
};
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
9669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
9676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) return NULL
;
9688 } Py_INCREF(Py_None
);
9689 _resultobj
= Py_None
;
9693 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
9694 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
* _resultobj
;
9698 PyObject
* _argo0
= 0;
9699 char *_kwnames
[] = { "self", NULL
};
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
9705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) return NULL
;
9717 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9721 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9722 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
* _resultobj
;
9725 bool _arg1
= (bool ) TRUE
;
9726 PyObject
* _argo0
= 0;
9727 int tempbool1
= (int) TRUE
;
9728 char *_kwnames
[] = { "self","enable", NULL
};
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
9734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
9740 _arg1
= (bool ) tempbool1
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 wxMenuItem_Enable(_arg0
,_arg1
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) return NULL
;
9747 } Py_INCREF(Py_None
);
9748 _resultobj
= Py_None
;
9752 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
9753 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
* _resultobj
;
9757 PyObject
* _argo0
= 0;
9758 char *_kwnames
[] = { "self", NULL
};
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
9764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) return NULL
;
9776 } _resultobj
= Py_BuildValue("i",_result
);
9780 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
9781 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
* _resultobj
;
9784 bool _arg1
= (bool ) TRUE
;
9785 PyObject
* _argo0
= 0;
9786 int tempbool1
= (int) TRUE
;
9787 char *_kwnames
[] = { "self","check", NULL
};
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
9793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
9799 _arg1
= (bool ) tempbool1
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 wxMenuItem_Check(_arg0
,_arg1
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) return NULL
;
9806 } Py_INCREF(Py_None
);
9807 _resultobj
= Py_None
;
9811 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
9812 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
* _resultobj
;
9816 PyObject
* _argo0
= 0;
9817 char *_kwnames
[] = { "self", NULL
};
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
9823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) return NULL
;
9835 } _resultobj
= Py_BuildValue("i",_result
);
9839 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
9840 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
* _resultobj
;
9843 PyObject
* _argo0
= 0;
9844 char *_kwnames
[] = { "self", NULL
};
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
9850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 wxMenuItem_Toggle(_arg0
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) return NULL
;
9862 } Py_INCREF(Py_None
);
9863 _resultobj
= Py_None
;
9867 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
9868 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
* _resultobj
;
9872 PyObject
* _argo0
= 0;
9873 PyObject
* _obj1
= 0;
9874 char *_kwnames
[] = { "self","str", NULL
};
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
9880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
9887 _arg1
= wxString_in_helper(_obj1
);
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 wxMenuItem_SetHelp(_arg0
,*_arg1
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) return NULL
;
9897 } Py_INCREF(Py_None
);
9898 _resultobj
= Py_None
;
9906 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
9907 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
* _resultobj
;
9911 PyObject
* _argo0
= 0;
9912 char *_kwnames
[] = { "self", NULL
};
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
9918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
9927 _result
= (wxString
*) &_result_ref
;
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) return NULL
;
9933 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9935 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9941 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
9942 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
* _resultobj
;
9944 wxAcceleratorEntry
* _result
;
9946 PyObject
* _argo0
= 0;
9947 char *_kwnames
[] = { "self", NULL
};
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
9954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) return NULL
;
9967 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
9968 _resultobj
= Py_BuildValue("s",_ptemp
);
9971 _resultobj
= Py_None
;
9976 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
9977 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
* _resultobj
;
9980 wxAcceleratorEntry
* _arg1
;
9981 PyObject
* _argo0
= 0;
9982 PyObject
* _argo1
= 0;
9983 char *_kwnames
[] = { "self","accel", NULL
};
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
9989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
9996 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9997 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
9998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 wxMenuItem_SetAccel(_arg0
,_arg1
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) return NULL
;
10008 } Py_INCREF(Py_None
);
10009 _resultobj
= Py_None
;
10013 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
* _resultobj
;
10015 wxString
* _result
;
10017 PyObject
* _obj0
= 0;
10018 char *_kwnames
[] = { "text", NULL
};
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10024 _arg0
= wxString_in_helper(_obj0
);
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) return NULL
;
10036 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10038 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10051 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
10052 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
* _resultobj
;
10054 wxMenuItem
* _arg0
;
10056 PyObject
* _argo0
= 0;
10057 PyObject
* _argo1
= 0;
10058 char *_kwnames
[] = { "self","font", NULL
};
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
10064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
10071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 wxMenuItem_SetFont(_arg0
,*_arg1
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) return NULL
;
10083 } Py_INCREF(Py_None
);
10084 _resultobj
= Py_None
;
10088 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
10089 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
* _resultobj
;
10092 wxMenuItem
* _arg0
;
10093 PyObject
* _argo0
= 0;
10094 char *_kwnames
[] = { "self", NULL
};
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
10101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 _result
= new wxFont (wxMenuItem_GetFont(_arg0
));
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) return NULL
;
10113 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10114 _resultobj
= Py_BuildValue("s",_ptemp
);
10118 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
10119 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
* _resultobj
;
10121 wxMenuItem
* _arg0
;
10123 PyObject
* _argo0
= 0;
10125 PyObject
* _obj1
= 0;
10126 char *_kwnames
[] = { "self","colText", NULL
};
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
10132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
10140 if (! wxColour_helper(_obj1
, &_arg1
))
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) return NULL
;
10149 } Py_INCREF(Py_None
);
10150 _resultobj
= Py_None
;
10154 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
10155 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
* _resultobj
;
10157 wxColour
* _result
;
10158 wxMenuItem
* _arg0
;
10159 PyObject
* _argo0
= 0;
10160 char *_kwnames
[] = { "self", NULL
};
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
10167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) return NULL
;
10179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10180 _resultobj
= Py_BuildValue("s",_ptemp
);
10184 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
10185 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
* _resultobj
;
10187 wxMenuItem
* _arg0
;
10189 PyObject
* _argo0
= 0;
10191 PyObject
* _obj1
= 0;
10192 char *_kwnames
[] = { "self","colBack", NULL
};
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
10206 if (! wxColour_helper(_obj1
, &_arg1
))
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) return NULL
;
10215 } Py_INCREF(Py_None
);
10216 _resultobj
= Py_None
;
10220 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
10221 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
* _resultobj
;
10223 wxColour
* _result
;
10224 wxMenuItem
* _arg0
;
10225 PyObject
* _argo0
= 0;
10226 char *_kwnames
[] = { "self", NULL
};
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
10233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) return NULL
;
10245 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10246 _resultobj
= Py_BuildValue("s",_ptemp
);
10250 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
10251 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
* _resultobj
;
10253 wxMenuItem
* _arg0
;
10255 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10256 PyObject
* _argo0
= 0;
10257 PyObject
* _argo1
= 0;
10258 PyObject
* _argo2
= 0;
10259 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
10272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
10279 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10280 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) return NULL
;
10291 } Py_INCREF(Py_None
);
10292 _resultobj
= Py_None
;
10296 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
10297 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
* _resultobj
;
10299 wxMenuItem
* _arg0
;
10301 PyObject
* _argo0
= 0;
10302 PyObject
* _argo1
= 0;
10303 char *_kwnames
[] = { "self","bmpChecked", NULL
};
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
10309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
10316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) return NULL
;
10328 } Py_INCREF(Py_None
);
10329 _resultobj
= Py_None
;
10333 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
10334 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
* _resultobj
;
10336 wxBitmap
* _result
;
10337 wxMenuItem
* _arg0
;
10338 bool _arg1
= (bool ) TRUE
;
10339 PyObject
* _argo0
= 0;
10340 int tempbool1
= (int) TRUE
;
10341 char *_kwnames
[] = { "self","bChecked", NULL
};
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
10348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
10354 _arg1
= (bool ) tempbool1
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) return NULL
;
10361 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10362 _resultobj
= Py_BuildValue("s",_ptemp
);
10366 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
10367 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
* _resultobj
;
10369 wxMenuItem
* _arg0
;
10371 PyObject
* _argo0
= 0;
10372 char *_kwnames
[] = { "self","nWidth", NULL
};
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
10378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) return NULL
;
10390 } Py_INCREF(Py_None
);
10391 _resultobj
= Py_None
;
10395 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
10396 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
* _resultobj
;
10399 wxMenuItem
* _arg0
;
10400 PyObject
* _argo0
= 0;
10401 char *_kwnames
[] = { "self", NULL
};
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
10407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) return NULL
;
10419 } _resultobj
= Py_BuildValue("i",_result
);
10423 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
* _resultobj
;
10426 char *_kwnames
[] = { NULL
};
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) return NULL
;
10437 } _resultobj
= Py_BuildValue("i",_result
);
10441 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
10442 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
* _resultobj
;
10445 wxMenuItem
* _arg0
;
10446 PyObject
* _argo0
= 0;
10447 char *_kwnames
[] = { "self", NULL
};
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
10453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) return NULL
;
10465 } _resultobj
= Py_BuildValue("i",_result
);
10469 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
10470 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
* _resultobj
;
10472 wxMenuItem
* _arg0
;
10473 PyObject
* _argo0
= 0;
10474 char *_kwnames
[] = { "self", NULL
};
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
10480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 wxMenuItem_ResetOwnerDrawn(_arg0
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) return NULL
;
10492 } Py_INCREF(Py_None
);
10493 _resultobj
= Py_None
;
10497 static PyMethodDef windowscMethods
[] = {
10498 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
10499 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
10500 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
10501 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
10502 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
10503 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10504 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10505 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
10506 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10507 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10508 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10509 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10510 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10511 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10512 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
10513 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10514 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10515 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10516 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10517 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10518 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10519 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
10520 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10521 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10522 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10523 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10524 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10525 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10526 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10527 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10528 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10529 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10530 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10531 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10532 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10533 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10534 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10535 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10536 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10537 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10538 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10539 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10540 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10541 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
10542 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10543 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10544 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10545 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
10546 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10547 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10548 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
10549 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10550 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10551 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10552 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
10553 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10554 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
10555 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10556 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10557 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10558 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
10559 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10560 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10561 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10562 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10563 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10564 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
10565 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10566 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
10567 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
10568 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10569 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
10570 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10571 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10572 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10573 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10574 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
10575 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10576 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10577 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10578 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10579 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10580 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10581 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10582 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10583 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10584 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10585 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10586 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
10587 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
10588 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10589 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10590 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
10591 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
10592 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
10593 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10594 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10595 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
10596 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
10597 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
10598 { "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
10599 { "wxScrolledWindow_CalcScrolledPosition", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
},
10600 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
10601 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10602 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10603 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10604 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
10605 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
10606 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10607 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
10608 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10609 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
10610 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10611 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
10612 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10613 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10614 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10615 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10616 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
10617 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
10618 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
10619 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10620 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10621 { "wxWindow_OnPaint", (PyCFunction
) _wrap_wxWindow_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
10622 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10623 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10624 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
10625 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
10626 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
10627 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
10628 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
10629 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
10630 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
10631 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
10632 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
10633 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
10634 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
10635 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10636 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10637 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
10638 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
10639 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
10640 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10641 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10642 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
10643 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
10644 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10645 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10646 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10647 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10648 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10649 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10650 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10651 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10652 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10653 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10654 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
10655 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10656 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10657 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10658 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10659 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10660 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10661 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
10662 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
10663 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
10664 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
10665 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
10666 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10667 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10668 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
10669 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10670 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10671 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10672 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10673 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
10674 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
10675 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10676 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10677 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
10678 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10679 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10680 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
10681 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10682 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10683 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10684 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
10685 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
10686 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10687 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10688 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10689 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10690 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10691 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
10692 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
10693 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
10694 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
10695 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
10696 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
10697 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
10698 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
10699 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
10700 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
10701 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
10702 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10703 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10704 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10705 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
10706 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10707 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
10708 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
10709 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
10710 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10711 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
10712 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
10713 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10714 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
10715 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
10716 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
10717 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10718 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10719 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10720 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10721 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10722 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
10723 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10724 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10725 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
10726 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10727 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10728 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10729 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10730 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10731 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
10732 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10733 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
10734 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10735 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10736 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10737 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10738 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10739 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10740 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10741 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10742 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
10806 * This table is used by the pointer type-checker
10808 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10809 { "_signed_long","_long",0},
10810 { "_wxPrintQuality","_wxCoord",0},
10811 { "_wxPrintQuality","_int",0},
10812 { "_wxPrintQuality","_signed_int",0},
10813 { "_wxPrintQuality","_unsigned_int",0},
10814 { "_wxPrintQuality","_wxWindowID",0},
10815 { "_wxPrintQuality","_uint",0},
10816 { "_wxPrintQuality","_EBool",0},
10817 { "_wxPrintQuality","_size_t",0},
10818 { "_wxPrintQuality","_time_t",0},
10819 { "_byte","_unsigned_char",0},
10820 { "_long","_unsigned_long",0},
10821 { "_long","_signed_long",0},
10822 { "_size_t","_wxCoord",0},
10823 { "_size_t","_wxPrintQuality",0},
10824 { "_size_t","_time_t",0},
10825 { "_size_t","_unsigned_int",0},
10826 { "_size_t","_int",0},
10827 { "_size_t","_wxWindowID",0},
10828 { "_size_t","_uint",0},
10829 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
10830 { "_uint","_wxCoord",0},
10831 { "_uint","_wxPrintQuality",0},
10832 { "_uint","_time_t",0},
10833 { "_uint","_size_t",0},
10834 { "_uint","_unsigned_int",0},
10835 { "_uint","_int",0},
10836 { "_uint","_wxWindowID",0},
10837 { "_wxChar","_char",0},
10838 { "_char","_wxChar",0},
10839 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10840 { "_EBool","_wxCoord",0},
10841 { "_EBool","_wxPrintQuality",0},
10842 { "_EBool","_signed_int",0},
10843 { "_EBool","_int",0},
10844 { "_EBool","_wxWindowID",0},
10845 { "_unsigned_long","_long",0},
10846 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10847 { "_signed_int","_wxCoord",0},
10848 { "_signed_int","_wxPrintQuality",0},
10849 { "_signed_int","_EBool",0},
10850 { "_signed_int","_wxWindowID",0},
10851 { "_signed_int","_int",0},
10852 { "_WXTYPE","_short",0},
10853 { "_WXTYPE","_signed_short",0},
10854 { "_WXTYPE","_unsigned_short",0},
10855 { "_unsigned_short","_WXTYPE",0},
10856 { "_unsigned_short","_short",0},
10857 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
10858 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
10859 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
10860 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
10861 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
10862 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
10863 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
10864 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
10865 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
10866 { "_signed_short","_WXTYPE",0},
10867 { "_signed_short","_short",0},
10868 { "_unsigned_char","_byte",0},
10869 { "_unsigned_int","_wxCoord",0},
10870 { "_unsigned_int","_wxPrintQuality",0},
10871 { "_unsigned_int","_time_t",0},
10872 { "_unsigned_int","_size_t",0},
10873 { "_unsigned_int","_uint",0},
10874 { "_unsigned_int","_wxWindowID",0},
10875 { "_unsigned_int","_int",0},
10876 { "_short","_WXTYPE",0},
10877 { "_short","_unsigned_short",0},
10878 { "_short","_signed_short",0},
10879 { "_wxWindowID","_wxCoord",0},
10880 { "_wxWindowID","_wxPrintQuality",0},
10881 { "_wxWindowID","_time_t",0},
10882 { "_wxWindowID","_size_t",0},
10883 { "_wxWindowID","_EBool",0},
10884 { "_wxWindowID","_uint",0},
10885 { "_wxWindowID","_int",0},
10886 { "_wxWindowID","_signed_int",0},
10887 { "_wxWindowID","_unsigned_int",0},
10888 { "_int","_wxCoord",0},
10889 { "_int","_wxPrintQuality",0},
10890 { "_int","_time_t",0},
10891 { "_int","_size_t",0},
10892 { "_int","_EBool",0},
10893 { "_int","_uint",0},
10894 { "_int","_wxWindowID",0},
10895 { "_int","_unsigned_int",0},
10896 { "_int","_signed_int",0},
10897 { "_time_t","_wxCoord",0},
10898 { "_time_t","_wxPrintQuality",0},
10899 { "_time_t","_unsigned_int",0},
10900 { "_time_t","_int",0},
10901 { "_time_t","_wxWindowID",0},
10902 { "_time_t","_uint",0},
10903 { "_time_t","_size_t",0},
10904 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
10905 { "_wxCoord","_int",0},
10906 { "_wxCoord","_signed_int",0},
10907 { "_wxCoord","_unsigned_int",0},
10908 { "_wxCoord","_wxWindowID",0},
10909 { "_wxCoord","_uint",0},
10910 { "_wxCoord","_EBool",0},
10911 { "_wxCoord","_size_t",0},
10912 { "_wxCoord","_time_t",0},
10913 { "_wxCoord","_wxPrintQuality",0},
10914 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
10915 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
10916 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
10917 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
10918 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
10919 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
10920 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
10921 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
10922 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
10923 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
10926 static PyObject
*SWIG_globals
;
10930 SWIGEXPORT(void) initwindowsc() {
10932 SWIG_globals
= SWIG_newvarlink();
10933 m
= Py_InitModule("windowsc", windowscMethods
);
10934 d
= PyModule_GetDict(m
);
10937 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10938 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);