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 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
91 static const wxString
wxPyEmptyString(wxT(""));
93 class wxPyValidator
: public wxValidator
{
94 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
102 wxObject
* Clone() const {
103 wxPyValidator
* ptr
= NULL
;
104 wxPyValidator
* self
= (wxPyValidator
*)this;
106 wxPyBeginBlockThreads();
107 if (self
->m_myInst
.findCallback("Clone")) {
109 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
111 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
115 wxPyEndBlockThreads();
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
133 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
135 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
137 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
140 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
141 wxWindow
* win
= new wxWindow
;
143 win
->SubclassWin(hWnd
);
149 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
150 PyObject
* _resultobj
;
153 char *_kwnames
[] = { "hWnd", NULL
};
156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
160 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
162 wxPyEndAllowThreads(__tstate
);
163 if (PyErr_Occurred()) return NULL
;
164 }{ _resultobj
= wxPyMake_wxObject(_result
); }
168 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
171 src
= (wxEvtHandler
*) ptr
;
172 dest
= (wxObject
*) src
;
173 return (void *) dest
;
176 #define new_wxEvtHandler() (new wxEvtHandler())
177 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
179 wxEvtHandler
* _result
;
180 char *_kwnames
[] = { NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
188 _result
= (wxEvtHandler
*)new_wxEvtHandler();
190 wxPyEndAllowThreads(__tstate
);
191 if (PyErr_Occurred()) return NULL
;
193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
194 _resultobj
= Py_BuildValue("s",_ptemp
);
197 _resultobj
= Py_None
;
202 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
203 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
204 PyObject
* _resultobj
;
206 wxEvtHandler
* _arg0
;
208 PyObject
* _argo0
= 0;
209 PyObject
* _argo1
= 0;
210 char *_kwnames
[] = { "self","event", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
223 if (_argo1
== Py_None
) { _arg1
= NULL
; }
224 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
231 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
233 wxPyEndAllowThreads(__tstate
);
234 if (PyErr_Occurred()) return NULL
;
235 } _resultobj
= Py_BuildValue("i",_result
);
239 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
240 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
241 PyObject
* _resultobj
;
242 wxEvtHandler
* _arg0
;
244 PyObject
* _argo0
= 0;
245 PyObject
* _argo1
= 0;
246 char *_kwnames
[] = { "self","event", NULL
};
249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
269 wxPyEndAllowThreads(__tstate
);
270 if (PyErr_Occurred()) return NULL
;
271 } Py_INCREF(Py_None
);
272 _resultobj
= Py_None
;
276 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
277 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
280 wxEvtHandler
* _arg0
;
281 PyObject
* _argo0
= 0;
282 char *_kwnames
[] = { "self", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } _resultobj
= Py_BuildValue("i",_result
);
304 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
305 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
307 wxEvtHandler
* _arg0
;
309 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self","enabled", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
323 _arg1
= (bool ) tempbool1
;
325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
326 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
328 wxPyEndAllowThreads(__tstate
);
329 if (PyErr_Occurred()) return NULL
;
330 } Py_INCREF(Py_None
);
331 _resultobj
= Py_None
;
335 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
336 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
338 wxEvtHandler
* _result
;
339 wxEvtHandler
* _arg0
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
357 wxPyEndAllowThreads(__tstate
);
358 if (PyErr_Occurred()) return NULL
;
359 }{ _resultobj
= wxPyMake_wxObject(_result
); }
363 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
364 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
366 wxEvtHandler
* _result
;
367 wxEvtHandler
* _arg0
;
368 PyObject
* _argo0
= 0;
369 char *_kwnames
[] = { "self", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
383 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
385 wxPyEndAllowThreads(__tstate
);
386 if (PyErr_Occurred()) return NULL
;
387 }{ _resultobj
= wxPyMake_wxObject(_result
); }
391 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
392 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
394 wxEvtHandler
* _arg0
;
395 wxEvtHandler
* _arg1
;
396 PyObject
* _argo0
= 0;
397 PyObject
* _argo1
= 0;
398 char *_kwnames
[] = { "self","handler", NULL
};
401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
423 } Py_INCREF(Py_None
);
424 _resultobj
= Py_None
;
428 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
429 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
431 wxEvtHandler
* _arg0
;
432 wxEvtHandler
* _arg1
;
433 PyObject
* _argo0
= 0;
434 PyObject
* _argo1
= 0;
435 char *_kwnames
[] = { "self","handler", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
448 if (_argo1
== Py_None
) { _arg1
= NULL
; }
449 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
456 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
458 wxPyEndAllowThreads(__tstate
);
459 if (PyErr_Occurred()) return NULL
;
460 } Py_INCREF(Py_None
);
461 _resultobj
= Py_None
;
465 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
466 if (PyCallable_Check(func
)) {
467 self
->Connect(id
, lastId
, eventType
,
468 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
469 new wxPyCallback(func
));
471 else if (func
== Py_None
) {
472 self
->Disconnect(id
, lastId
, eventType
,
473 (wxObjectEventFunction
)
474 &wxPyCallback::EventThunker
);
477 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
480 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
482 wxEvtHandler
* _arg0
;
487 PyObject
* _argo0
= 0;
488 PyObject
* _obj4
= 0;
489 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
506 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
508 wxPyEndAllowThreads(__tstate
);
509 if (PyErr_Occurred()) return NULL
;
510 } Py_INCREF(Py_None
);
511 _resultobj
= Py_None
;
515 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
516 return self
->Disconnect(id
, lastId
, eventType
,
517 (wxObjectEventFunction
)
518 &wxPyCallback::EventThunker
);
520 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxEvtHandler
* _arg0
;
525 int _arg2
= (int ) -1;
526 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
544 wxPyEndAllowThreads(__tstate
);
545 if (PyErr_Occurred()) return NULL
;
546 } _resultobj
= Py_BuildValue("i",_result
);
550 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
551 self
->SetClientObject(new wxPyOORClientData(_self
));
553 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
555 wxEvtHandler
* _arg0
;
557 PyObject
* _argo0
= 0;
558 PyObject
* _obj1
= 0;
559 char *_kwnames
[] = { "self","_self", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
576 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
578 wxPyEndAllowThreads(__tstate
);
579 if (PyErr_Occurred()) return NULL
;
580 } Py_INCREF(Py_None
);
581 _resultobj
= Py_None
;
585 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
588 src
= (wxValidator
*) ptr
;
589 dest
= (wxEvtHandler
*) src
;
590 return (void *) dest
;
593 static void *SwigwxValidatorTowxObject(void *ptr
) {
596 src
= (wxValidator
*) ptr
;
597 dest
= (wxObject
*) src
;
598 return (void *) dest
;
601 #define new_wxValidator() (new wxValidator())
602 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
604 wxValidator
* _result
;
605 char *_kwnames
[] = { NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 _result
= (wxValidator
*)new_wxValidator();
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) return NULL
;
618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
619 _resultobj
= Py_BuildValue("s",_ptemp
);
622 _resultobj
= Py_None
;
627 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
628 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
630 wxValidator
* _result
;
632 PyObject
* _argo0
= 0;
633 char *_kwnames
[] = { "self", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) return NULL
;
651 }{ _resultobj
= wxPyMake_wxObject(_result
); }
655 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
656 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
660 PyObject
* _argo0
= 0;
661 char *_kwnames
[] = { "self", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
675 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
677 wxPyEndAllowThreads(__tstate
);
678 if (PyErr_Occurred()) return NULL
;
679 }{ _resultobj
= wxPyMake_wxObject(_result
); }
683 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
684 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
688 PyObject
* _argo0
= 0;
689 PyObject
* _argo1
= 0;
690 char *_kwnames
[] = { "self","window", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
703 if (_argo1
== Py_None
) { _arg1
= NULL
; }
704 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
711 wxValidator_SetWindow(_arg0
,_arg1
);
713 wxPyEndAllowThreads(__tstate
);
714 if (PyErr_Occurred()) return NULL
;
715 } Py_INCREF(Py_None
);
716 _resultobj
= Py_None
;
720 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 char *_kwnames
[] = { NULL
};
726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
730 _result
= (bool )wxValidator::IsSilent();
732 wxPyEndAllowThreads(__tstate
);
733 if (PyErr_Occurred()) return NULL
;
734 } _resultobj
= Py_BuildValue("i",_result
);
738 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 PyObject
* _resultobj
;
740 int _arg0
= (int ) TRUE
;
741 char *_kwnames
[] = { "doIt", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 wxValidator::SetBellOnError(_arg0
);
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) return NULL
;
752 } Py_INCREF(Py_None
);
753 _resultobj
= Py_None
;
757 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
760 src
= (wxPyValidator
*) ptr
;
761 dest
= (wxValidator
*) src
;
762 return (void *) dest
;
765 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
768 src
= (wxPyValidator
*) ptr
;
769 dest
= (wxEvtHandler
*) src
;
770 return (void *) dest
;
773 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
776 src
= (wxPyValidator
*) ptr
;
777 dest
= (wxObject
*) src
;
778 return (void *) dest
;
781 #define new_wxPyValidator() (new wxPyValidator())
782 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
784 wxPyValidator
* _result
;
785 char *_kwnames
[] = { NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= (wxPyValidator
*)new_wxPyValidator();
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
799 _resultobj
= Py_BuildValue("s",_ptemp
);
802 _resultobj
= Py_None
;
807 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
808 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
810 wxPyValidator
* _arg0
;
813 int _arg3
= (int ) TRUE
;
814 PyObject
* _argo0
= 0;
815 PyObject
* _obj1
= 0;
816 PyObject
* _obj2
= 0;
817 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) return NULL
;
841 } Py_INCREF(Py_None
);
842 _resultobj
= Py_None
;
846 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
849 src
= (wxWindow
*) ptr
;
850 dest
= (wxEvtHandler
*) src
;
851 return (void *) dest
;
854 static void *SwigwxWindowTowxObject(void *ptr
) {
857 src
= (wxWindow
*) ptr
;
858 dest
= (wxObject
*) src
;
859 return (void *) dest
;
862 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
863 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
868 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
869 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
870 long _arg4
= (long ) 0;
871 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
872 PyObject
* _argo0
= 0;
874 PyObject
* _obj2
= 0;
876 PyObject
* _obj3
= 0;
877 PyObject
* _obj5
= 0;
878 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
894 if (! wxPoint_helper(_obj2
, &_arg2
))
900 if (! wxSize_helper(_obj3
, &_arg3
))
905 _arg5
= wxString_in_helper(_obj5
);
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) return NULL
;
916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
917 _resultobj
= Py_BuildValue("s",_ptemp
);
920 _resultobj
= Py_None
;
929 #define new_wxPreWindow() (new wxWindow())
930 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
933 char *_kwnames
[] = { NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
941 _result
= (wxWindow
*)new_wxPreWindow();
943 wxPyEndAllowThreads(__tstate
);
944 if (PyErr_Occurred()) return NULL
;
946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
947 _resultobj
= Py_BuildValue("s",_ptemp
);
950 _resultobj
= Py_None
;
955 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
956 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
957 PyObject
* _resultobj
;
962 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
963 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
964 long _arg5
= (long ) 0;
965 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
966 PyObject
* _argo0
= 0;
967 PyObject
* _argo1
= 0;
969 PyObject
* _obj3
= 0;
971 PyObject
* _obj4
= 0;
972 PyObject
* _obj6
= 0;
973 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
995 if (! wxPoint_helper(_obj3
, &_arg3
))
1001 if (! wxSize_helper(_obj4
, &_arg4
))
1006 _arg6
= wxString_in_helper(_obj6
);
1011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1012 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1014 wxPyEndAllowThreads(__tstate
);
1015 if (PyErr_Occurred()) return NULL
;
1016 } _resultobj
= Py_BuildValue("i",_result
);
1024 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1025 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1026 PyObject
* _resultobj
;
1028 int _arg1
= (int ) wxBOTH
;
1029 PyObject
* _argo0
= 0;
1030 char *_kwnames
[] = { "self","direction", NULL
};
1033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1044 wxWindow_Center(_arg0
,_arg1
);
1046 wxPyEndAllowThreads(__tstate
);
1047 if (PyErr_Occurred()) return NULL
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1053 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1054 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1057 int _arg1
= (int ) wxBOTH
;
1058 PyObject
* _argo0
= 0;
1059 char *_kwnames
[] = { "self","direction", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1073 wxWindow_Centre(_arg0
,_arg1
);
1075 wxPyEndAllowThreads(__tstate
);
1076 if (PyErr_Occurred()) return NULL
;
1077 } Py_INCREF(Py_None
);
1078 _resultobj
= Py_None
;
1082 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1083 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1086 int _arg1
= (int ) wxBOTH
;
1087 PyObject
* _argo0
= 0;
1088 char *_kwnames
[] = { "self","direction", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 wxWindow_CentreOnParent(_arg0
,_arg1
);
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) return NULL
;
1106 } Py_INCREF(Py_None
);
1107 _resultobj
= Py_None
;
1111 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1112 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
* _resultobj
;
1115 int _arg1
= (int ) wxBOTH
;
1116 PyObject
* _argo0
= 0;
1117 char *_kwnames
[] = { "self","direction", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 wxWindow_CenterOnParent(_arg0
,_arg1
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) return NULL
;
1135 } Py_INCREF(Py_None
);
1136 _resultobj
= Py_None
;
1140 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1141 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1144 int _arg1
= (int ) wxBOTH
;
1145 PyObject
* _argo0
= 0;
1146 char *_kwnames
[] = { "self","direction", NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) return NULL
;
1164 } Py_INCREF(Py_None
);
1165 _resultobj
= Py_None
;
1169 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1170 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1173 int _arg1
= (int ) wxBOTH
;
1174 PyObject
* _argo0
= 0;
1175 char *_kwnames
[] = { "self","direction", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) return NULL
;
1193 } Py_INCREF(Py_None
);
1194 _resultobj
= Py_None
;
1198 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1199 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1202 PyObject
* _argo0
= 0;
1203 char *_kwnames
[] = { "self", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 wxWindow_Clear(_arg0
);
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) return NULL
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1226 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1227 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1232 PyObject
* _argo0
= 0;
1234 PyObject
* _obj1
= 0;
1236 PyObject
* _obj2
= 0;
1237 char *_kwnames
[] = { "self","x","y", NULL
};
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1250 temp
= (int) PyInt_AsLong(_obj1
);
1254 temp0
= (int) PyInt_AsLong(_obj2
);
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) return NULL
;
1263 } Py_INCREF(Py_None
);
1264 _resultobj
= Py_None
;
1267 o
= PyInt_FromLong((long) (*_arg1
));
1268 _resultobj
= t_output_helper(_resultobj
, o
);
1272 o
= PyInt_FromLong((long) (*_arg2
));
1273 _resultobj
= t_output_helper(_resultobj
, o
);
1278 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1279 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1284 PyObject
* _argo0
= 0;
1286 PyObject
* _obj1
= 0;
1287 char *_kwnames
[] = { "self","pt", NULL
};
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1302 if (! wxPoint_helper(_obj1
, &_arg1
))
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1312 _resultobj
= Py_BuildValue("s",_ptemp
);
1316 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1317 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1321 int _arg1
= (int ) FALSE
;
1322 PyObject
* _argo0
= 0;
1323 char *_kwnames
[] = { "self","force", NULL
};
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1337 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) return NULL
;
1341 } _resultobj
= Py_BuildValue("i",_result
);
1345 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1346 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1350 PyObject
* _argo0
= 0;
1351 char *_kwnames
[] = { "self", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 _result
= (bool )wxWindow_Destroy(_arg0
);
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) return NULL
;
1369 } _resultobj
= Py_BuildValue("i",_result
);
1373 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1374 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "self", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 wxWindow_DestroyChildren(_arg0
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1396 } Py_INCREF(Py_None
);
1397 _resultobj
= Py_None
;
1401 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1402 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } _resultobj
= Py_BuildValue("i",_result
);
1429 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1430 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1434 PyObject
* _argo0
= 0;
1436 char *_kwnames
[] = { "self","accept", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1448 _arg1
= (bool ) tempbool1
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) return NULL
;
1455 } Py_INCREF(Py_None
);
1456 _resultobj
= Py_None
;
1460 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1461 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1465 PyObject
* _argo0
= 0;
1467 char *_kwnames
[] = { "self","enable", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1479 _arg1
= (bool ) tempbool1
;
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 wxWindow_Enable(_arg0
,_arg1
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 } Py_INCREF(Py_None
);
1487 _resultobj
= Py_None
;
1491 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1492 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1497 PyObject
* _argo0
= 0;
1498 char *_kwnames
[] = { "self","id", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) return NULL
;
1516 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1520 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1521 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1526 PyObject
* _argo0
= 0;
1527 PyObject
* _obj1
= 0;
1528 char *_kwnames
[] = { "self","name", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1541 _arg1
= wxString_in_helper(_obj1
);
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) return NULL
;
1551 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1559 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1560 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 wxWindow_Fit(_arg0
);
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) return NULL
;
1582 } Py_INCREF(Py_None
);
1583 _resultobj
= Py_None
;
1587 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1588 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1592 PyObject
* _argo0
= 0;
1593 char *_kwnames
[] = { "self", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) return NULL
;
1612 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1613 _resultobj
= Py_BuildValue("s",_ptemp
);
1617 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1618 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
* _resultobj
;
1622 PyObject
* _argo0
= 0;
1623 char *_kwnames
[] = { "self", NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) return NULL
;
1641 } _resultobj
= Py_BuildValue("i",_result
);
1645 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1646 wxWindowList
& list
= self
->GetChildren();
1647 return wxPy_ConvertList(&list
, "wxWindow");
1649 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) return NULL
;
1673 _resultobj
= _result
;
1678 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1679 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) return NULL
;
1702 } _resultobj
= Py_BuildValue("i",_result
);
1706 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1707 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1711 PyObject
* _argo0
= 0;
1712 char *_kwnames
[] = { "self", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1730 } _resultobj
= Py_BuildValue("i",_result
);
1734 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1735 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) return NULL
;
1767 } Py_INCREF(Py_None
);
1768 _resultobj
= Py_None
;
1771 o
= PyInt_FromLong((long) (*_arg1
));
1772 _resultobj
= t_output_helper(_resultobj
, o
);
1776 o
= PyInt_FromLong((long) (*_arg2
));
1777 _resultobj
= t_output_helper(_resultobj
, o
);
1782 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1783 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) return NULL
;
1807 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1808 _resultobj
= Py_BuildValue("s",_ptemp
);
1812 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1813 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1817 PyObject
* _argo0
= 0;
1818 char *_kwnames
[] = { "self", NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) return NULL
;
1837 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1838 _resultobj
= Py_BuildValue("s",_ptemp
);
1842 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1843 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) return NULL
;
1867 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1868 _resultobj
= Py_BuildValue("s",_ptemp
);
1872 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1873 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1875 wxLayoutConstraints
* _result
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) return NULL
;
1898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1899 _resultobj
= Py_BuildValue("s",_ptemp
);
1902 _resultobj
= Py_None
;
1907 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1908 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxEvtHandler
* _result
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1935 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1936 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) return NULL
;
1960 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1961 _resultobj
= Py_BuildValue("s",_ptemp
);
1965 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1966 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1970 PyObject
* _argo0
= 0;
1971 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) return NULL
;
1990 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1991 _resultobj
= Py_BuildValue("s",_ptemp
);
1995 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1996 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
2000 PyObject
* _argo0
= 0;
2001 char *_kwnames
[] = { "self", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) return NULL
;
2019 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2023 static long wxWindow_GetHandle(wxWindow
*self
) {
2024 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2026 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 _result
= (long )wxWindow_GetHandle(_arg0
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) return NULL
;
2049 } _resultobj
= Py_BuildValue("l",_result
);
2053 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2054 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 _result
= (int )wxWindow_GetId(_arg0
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2082 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2086 PyObject
* _argo0
= 0;
2087 char *_kwnames
[] = { "self", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2107 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2109 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2118 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2119 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
* _resultobj
;
2123 PyObject
* _argo0
= 0;
2124 PyObject
* _obj1
= 0;
2125 char *_kwnames
[] = { "self","label", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2138 _arg1
= wxString_in_helper(_obj1
);
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxWindow_SetLabel(_arg0
,*_arg1
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2157 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2158 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2162 PyObject
* _argo0
= 0;
2163 char *_kwnames
[] = { "self", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 _result
= new wxString (wxWindow_GetName(_arg0
));
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) return NULL
;
2183 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2185 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2194 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2195 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2199 PyObject
* _argo0
= 0;
2200 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) return NULL
;
2218 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2222 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2223 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2230 PyObject
* _argo0
= 0;
2231 char *_kwnames
[] = { "self", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2255 } Py_INCREF(Py_None
);
2256 _resultobj
= Py_None
;
2259 o
= PyInt_FromLong((long) (*_arg1
));
2260 _resultobj
= t_output_helper(_resultobj
, o
);
2264 o
= PyInt_FromLong((long) (*_arg2
));
2265 _resultobj
= t_output_helper(_resultobj
, o
);
2270 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2271 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2275 PyObject
* _argo0
= 0;
2276 char *_kwnames
[] = { "self", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) return NULL
;
2295 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2296 _resultobj
= Py_BuildValue("s",_ptemp
);
2300 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2301 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2325 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2326 _resultobj
= Py_BuildValue("s",_ptemp
);
2330 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2331 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self","orientation", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) return NULL
;
2355 } _resultobj
= Py_BuildValue("i",_result
);
2359 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2360 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2365 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self","orientation", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) return NULL
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2389 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2394 PyObject
* _argo0
= 0;
2395 char *_kwnames
[] = { "self","orientation", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) return NULL
;
2413 } _resultobj
= Py_BuildValue("i",_result
);
2417 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2418 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) return NULL
;
2450 } Py_INCREF(Py_None
);
2451 _resultobj
= Py_None
;
2454 o
= PyInt_FromLong((long) (*_arg1
));
2455 _resultobj
= t_output_helper(_resultobj
, o
);
2459 o
= PyInt_FromLong((long) (*_arg2
));
2460 _resultobj
= t_output_helper(_resultobj
, o
);
2465 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2466 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
* _resultobj
;
2470 PyObject
* _argo0
= 0;
2471 char *_kwnames
[] = { "self", NULL
};
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) return NULL
;
2490 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2491 _resultobj
= Py_BuildValue("s",_ptemp
);
2495 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2496 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2504 PyObject
* _argo0
= 0;
2505 PyObject
* _obj1
= 0;
2506 char *_kwnames
[] = { "self","string", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2525 _arg1
= wxString_in_helper(_obj1
);
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) return NULL
;
2535 } Py_INCREF(Py_None
);
2536 _resultobj
= Py_None
;
2539 o
= PyInt_FromLong((long) (*_arg2
));
2540 _resultobj
= t_output_helper(_resultobj
, o
);
2544 o
= PyInt_FromLong((long) (*_arg3
));
2545 _resultobj
= t_output_helper(_resultobj
, o
);
2554 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2555 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2567 wxFont
* _arg6
= (wxFont
*) NULL
;
2568 PyObject
* _argo0
= 0;
2569 PyObject
* _obj1
= 0;
2570 PyObject
* _argo6
= 0;
2571 char *_kwnames
[] = { "self","string","font", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2596 _arg1
= wxString_in_helper(_obj1
);
2601 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) return NULL
;
2613 } Py_INCREF(Py_None
);
2614 _resultobj
= Py_None
;
2617 o
= PyInt_FromLong((long) (*_arg2
));
2618 _resultobj
= t_output_helper(_resultobj
, o
);
2622 o
= PyInt_FromLong((long) (*_arg3
));
2623 _resultobj
= t_output_helper(_resultobj
, o
);
2627 o
= PyInt_FromLong((long) (*_arg4
));
2628 _resultobj
= t_output_helper(_resultobj
, o
);
2632 o
= PyInt_FromLong((long) (*_arg5
));
2633 _resultobj
= t_output_helper(_resultobj
, o
);
2642 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2643 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2647 PyObject
* _argo0
= 0;
2648 char *_kwnames
[] = { "self", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) return NULL
;
2668 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2670 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2679 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2680 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2684 PyObject
* _argo0
= 0;
2685 char *_kwnames
[] = { "self", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2705 _resultobj
= Py_BuildValue("s",_ptemp
);
2709 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2710 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } _resultobj
= Py_BuildValue("l",_result
);
2737 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2738 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2742 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self","style", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) return NULL
;
2761 } Py_INCREF(Py_None
);
2762 _resultobj
= Py_None
;
2766 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2767 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2771 PyObject
* _argo0
= 0;
2772 char *_kwnames
[] = { "self","style", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) return NULL
;
2790 } Py_INCREF(Py_None
);
2791 _resultobj
= Py_None
;
2795 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2796 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self","orient", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) return NULL
;
2820 } _resultobj
= Py_BuildValue("i",_result
);
2824 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2825 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2830 char *_kwnames
[] = { "self", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 _result
= (bool )wxWindow_Hide(_arg0
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) return NULL
;
2848 } _resultobj
= Py_BuildValue("i",_result
);
2852 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2853 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2858 PyObject
* _argo0
= 0;
2860 PyObject
* _obj1
= 0;
2861 char *_kwnames
[] = { "self","pt", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2875 if (! wxPoint_helper(_obj1
, &_arg1
))
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) return NULL
;
2884 } _resultobj
= Py_BuildValue("i",_result
);
2888 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2889 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 wxWindow_InitDialog(_arg0
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) return NULL
;
2911 } Py_INCREF(Py_None
);
2912 _resultobj
= Py_None
;
2916 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2917 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) return NULL
;
2940 } _resultobj
= Py_BuildValue("i",_result
);
2944 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2945 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2951 int _arg3
= (int ) 0;
2952 int _arg4
= (int ) 0;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2972 } _resultobj
= Py_BuildValue("i",_result
);
2976 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2977 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2982 PyObject
* _argo0
= 0;
2984 PyObject
* _obj1
= 0;
2985 char *_kwnames
[] = { "self","pt", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2999 if (! wxPoint_helper(_obj1
, &_arg1
))
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) return NULL
;
3008 } _resultobj
= Py_BuildValue("i",_result
);
3012 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3013 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3018 PyObject
* _argo0
= 0;
3020 PyObject
* _obj1
= 0;
3021 char *_kwnames
[] = { "self","rect", NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3035 if (! wxRect_helper(_obj1
, &_arg1
))
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) return NULL
;
3044 } _resultobj
= Py_BuildValue("i",_result
);
3048 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3049 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3053 PyObject
* _argo0
= 0;
3054 char *_kwnames
[] = { "self", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 _result
= (bool )wxWindow_IsRetained(_arg0
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) return NULL
;
3072 } _resultobj
= Py_BuildValue("i",_result
);
3076 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3077 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 _result
= (bool )wxWindow_IsShown(_arg0
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3100 } _resultobj
= Py_BuildValue("i",_result
);
3104 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3105 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3109 PyObject
* _argo0
= 0;
3110 char *_kwnames
[] = { "self", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) return NULL
;
3128 } _resultobj
= Py_BuildValue("i",_result
);
3132 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3133 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3136 PyObject
* _argo0
= 0;
3137 char *_kwnames
[] = { "self", NULL
};
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 wxWindow_Layout(_arg0
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) return NULL
;
3155 } Py_INCREF(Py_None
);
3156 _resultobj
= Py_None
;
3160 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3161 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3167 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3168 PyObject
* _argo0
= 0;
3169 PyObject
* _argo1
= 0;
3170 PyObject
* _obj2
= 0;
3171 PyObject
* _argo3
= 0;
3172 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3192 _arg2
= wxString_in_helper(_obj2
);
3197 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) return NULL
;
3209 } _resultobj
= Py_BuildValue("i",_result
);
3217 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3218 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 wxWindow_Lower(_arg0
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) return NULL
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3246 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3249 bool _arg1
= (bool ) TRUE
;
3250 PyObject
* _argo0
= 0;
3251 int tempbool1
= (int) TRUE
;
3252 char *_kwnames
[] = { "self","flag", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3264 _arg1
= (bool ) tempbool1
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 wxWindow_MakeModal(_arg0
,_arg1
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) return NULL
;
3271 } Py_INCREF(Py_None
);
3272 _resultobj
= Py_None
;
3276 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3277 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3282 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3283 PyObject
* _argo0
= 0;
3284 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) return NULL
;
3302 } Py_INCREF(Py_None
);
3303 _resultobj
= Py_None
;
3307 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3308 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3312 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3313 PyObject
* _argo0
= 0;
3315 PyObject
* _obj1
= 0;
3316 char *_kwnames
[] = { "self","point","flags", NULL
};
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3330 if (! wxPoint_helper(_obj1
, &_arg1
))
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) return NULL
;
3339 } Py_INCREF(Py_None
);
3340 _resultobj
= Py_None
;
3344 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3345 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3347 wxEvtHandler
* _result
;
3349 bool _arg1
= (bool ) FALSE
;
3350 PyObject
* _argo0
= 0;
3351 int tempbool1
= (int) FALSE
;
3352 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3364 _arg1
= (bool ) tempbool1
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) return NULL
;
3371 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3375 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3376 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3379 wxEvtHandler
* _arg1
;
3380 PyObject
* _argo0
= 0;
3381 PyObject
* _argo1
= 0;
3382 char *_kwnames
[] = { "self","handler", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 wxWindow_PushEventHandler(_arg0
,_arg1
);
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) return NULL
;
3407 } Py_INCREF(Py_None
);
3408 _resultobj
= Py_None
;
3412 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3413 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
* _resultobj
;
3417 wxEvtHandler
* _arg1
;
3418 PyObject
* _argo0
= 0;
3419 PyObject
* _argo1
= 0;
3420 char *_kwnames
[] = { "self","handler", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3433 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) return NULL
;
3445 } _resultobj
= Py_BuildValue("i",_result
);
3449 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3450 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3457 PyObject
* _argo0
= 0;
3458 PyObject
* _argo1
= 0;
3459 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3472 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) return NULL
;
3484 } _resultobj
= Py_BuildValue("i",_result
);
3488 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3489 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3495 PyObject
* _argo0
= 0;
3496 PyObject
* _argo1
= 0;
3498 PyObject
* _obj2
= 0;
3499 char *_kwnames
[] = { "self","menu","pos", NULL
};
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3520 if (! wxPoint_helper(_obj2
, &_arg2
))
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) return NULL
;
3529 } _resultobj
= Py_BuildValue("i",_result
);
3533 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3534 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
* _resultobj
;
3537 PyObject
* _argo0
= 0;
3538 char *_kwnames
[] = { "self", NULL
};
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 wxWindow_Raise(_arg0
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) return NULL
;
3556 } Py_INCREF(Py_None
);
3557 _resultobj
= Py_None
;
3561 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3562 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3565 bool _arg1
= (bool ) TRUE
;
3566 wxRect
* _arg2
= (wxRect
*) NULL
;
3567 PyObject
* _argo0
= 0;
3568 int tempbool1
= (int) TRUE
;
3570 PyObject
* _obj2
= 0;
3571 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3583 _arg1
= (bool ) tempbool1
;
3587 if (! wxRect_helper(_obj2
, &_arg2
))
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) return NULL
;
3596 } Py_INCREF(Py_None
);
3597 _resultobj
= Py_None
;
3601 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3602 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3606 PyObject
* _argo0
= 0;
3608 PyObject
* _obj1
= 0;
3609 char *_kwnames
[] = { "self","rect", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3623 if (! wxRect_helper(_obj1
, &_arg1
))
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 wxWindow_RefreshRect(_arg0
,*_arg1
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } Py_INCREF(Py_None
);
3633 _resultobj
= Py_None
;
3637 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3638 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3642 PyObject
* _argo0
= 0;
3643 PyObject
* _argo1
= 0;
3644 char *_kwnames
[] = { "self","child", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
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_RemoveChild. Expected _wxWindow_p.");
3657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 wxWindow_RemoveChild(_arg0
,_arg1
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) return NULL
;
3669 } Py_INCREF(Py_None
);
3670 _resultobj
= Py_None
;
3674 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3675 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3681 PyObject
* _argo1
= 0;
3682 char *_kwnames
[] = { "self","newParent", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) return NULL
;
3707 } _resultobj
= Py_BuildValue("i",_result
);
3711 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3712 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
* _resultobj
;
3717 PyObject
* _argo0
= 0;
3719 PyObject
* _obj1
= 0;
3721 PyObject
* _obj2
= 0;
3722 char *_kwnames
[] = { "self","x","y", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3735 temp
= (int) PyInt_AsLong(_obj1
);
3739 temp0
= (int) PyInt_AsLong(_obj2
);
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) return NULL
;
3748 } Py_INCREF(Py_None
);
3749 _resultobj
= Py_None
;
3752 o
= PyInt_FromLong((long) (*_arg1
));
3753 _resultobj
= t_output_helper(_resultobj
, o
);
3757 o
= PyInt_FromLong((long) (*_arg2
));
3758 _resultobj
= t_output_helper(_resultobj
, o
);
3763 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3764 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3769 PyObject
* _argo0
= 0;
3771 PyObject
* _obj1
= 0;
3772 char *_kwnames
[] = { "self","pt", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3787 if (! wxPoint_helper(_obj1
, &_arg1
))
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) return NULL
;
3796 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3797 _resultobj
= Py_BuildValue("s",_ptemp
);
3801 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3802 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3807 wxRect
* _arg3
= (wxRect
*) NULL
;
3808 PyObject
* _argo0
= 0;
3810 PyObject
* _obj3
= 0;
3811 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3826 if (! wxRect_helper(_obj3
, &_arg3
))
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) return NULL
;
3835 } Py_INCREF(Py_None
);
3836 _resultobj
= Py_None
;
3840 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3841 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3845 PyObject
* _argo0
= 0;
3847 char *_kwnames
[] = { "self","autoLayout", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3859 _arg1
= (bool ) tempbool1
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) return NULL
;
3866 } Py_INCREF(Py_None
);
3867 _resultobj
= Py_None
;
3871 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3872 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3876 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
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_GetAutoLayout. Expected _wxWindow_p.");
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) return NULL
;
3895 } _resultobj
= Py_BuildValue("i",_result
);
3899 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3900 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3904 PyObject
* _argo0
= 0;
3906 PyObject
* _obj1
= 0;
3907 char *_kwnames
[] = { "self","colour", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
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_SetBackgroundColour. Expected _wxWindow_p.");
3921 if (! wxColour_helper(_obj1
, &_arg1
))
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) return NULL
;
3930 } Py_INCREF(Py_None
);
3931 _resultobj
= Py_None
;
3935 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3936 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
* _resultobj
;
3939 wxLayoutConstraints
* _arg1
;
3940 PyObject
* _argo0
= 0;
3941 PyObject
* _argo1
= 0;
3942 char *_kwnames
[] = { "self","constraints", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 wxWindow_SetConstraints(_arg0
,_arg1
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) return NULL
;
3967 } Py_INCREF(Py_None
);
3968 _resultobj
= Py_None
;
3972 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3973 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
* _resultobj
;
3976 wxLayoutConstraints
* _arg1
;
3977 PyObject
* _argo0
= 0;
3978 PyObject
* _argo1
= 0;
3979 char *_kwnames
[] = { "self","constraints", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) return NULL
;
4004 } Py_INCREF(Py_None
);
4005 _resultobj
= Py_None
;
4009 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4010 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4013 PyObject
* _argo0
= 0;
4014 char *_kwnames
[] = { "self", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 wxWindow_SetFocus(_arg0
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4032 } Py_INCREF(Py_None
);
4033 _resultobj
= Py_None
;
4037 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4038 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4041 PyObject
* _argo0
= 0;
4042 char *_kwnames
[] = { "self", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocusFromKbd",_kwnames
,&_argo0
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 wxWindow_SetFocusFromKbd(_arg0
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } Py_INCREF(Py_None
);
4061 _resultobj
= Py_None
;
4065 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4066 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4070 PyObject
* _argo0
= 0;
4071 char *_kwnames
[] = { "self", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) return NULL
;
4089 } _resultobj
= Py_BuildValue("i",_result
);
4093 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4094 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4098 PyObject
* _argo0
= 0;
4099 PyObject
* _argo1
= 0;
4100 char *_kwnames
[] = { "self","font", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4113 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 wxWindow_SetFont(_arg0
,*_arg1
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) return NULL
;
4125 } Py_INCREF(Py_None
);
4126 _resultobj
= Py_None
;
4130 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4131 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4135 PyObject
* _argo0
= 0;
4137 PyObject
* _obj1
= 0;
4138 char *_kwnames
[] = { "self","colour", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4152 if (! wxColour_helper(_obj1
, &_arg1
))
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) return NULL
;
4161 } Py_INCREF(Py_None
);
4162 _resultobj
= Py_None
;
4166 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4167 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4171 PyObject
* _argo0
= 0;
4172 char *_kwnames
[] = { "self","id", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 wxWindow_SetId(_arg0
,_arg1
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) return NULL
;
4190 } Py_INCREF(Py_None
);
4191 _resultobj
= Py_None
;
4195 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4196 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4200 PyObject
* _argo0
= 0;
4201 PyObject
* _obj1
= 0;
4202 char *_kwnames
[] = { "self","name", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4215 _arg1
= wxString_in_helper(_obj1
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 wxWindow_SetName(_arg0
,*_arg1
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) return NULL
;
4225 } Py_INCREF(Py_None
);
4226 _resultobj
= Py_None
;
4234 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4235 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4242 int _arg5
= (int ) TRUE
;
4243 PyObject
* _argo0
= 0;
4244 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) return NULL
;
4262 } Py_INCREF(Py_None
);
4263 _resultobj
= Py_None
;
4267 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4268 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4273 bool _arg3
= (bool ) TRUE
;
4274 PyObject
* _argo0
= 0;
4275 int tempbool3
= (int) TRUE
;
4276 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4288 _arg3
= (bool ) tempbool3
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) return NULL
;
4295 } Py_INCREF(Py_None
);
4296 _resultobj
= Py_None
;
4300 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4301 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4308 int _arg5
= (int ) wxSIZE_AUTO
;
4309 PyObject
* _argo0
= 0;
4310 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) return NULL
;
4328 } Py_INCREF(Py_None
);
4329 _resultobj
= Py_None
;
4333 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4334 self
->SetSize(size
);
4336 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
* _resultobj
;
4340 PyObject
* _argo0
= 0;
4342 PyObject
* _obj1
= 0;
4343 char *_kwnames
[] = { "self","size", NULL
};
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4357 if (! wxSize_helper(_obj1
, &_arg1
))
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 wxWindow_SetSize(_arg0
,*_arg1
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) return NULL
;
4366 } Py_INCREF(Py_None
);
4367 _resultobj
= Py_None
;
4371 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4372 self
->Move(pos
, flags
);
4374 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4378 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4379 PyObject
* _argo0
= 0;
4381 PyObject
* _obj1
= 0;
4382 char *_kwnames
[] = { "self","pos","flags", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4396 if (! wxPoint_helper(_obj1
, &_arg1
))
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) return NULL
;
4405 } Py_INCREF(Py_None
);
4406 _resultobj
= Py_None
;
4410 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4411 self
->SetSize(rect
, sizeFlags
);
4413 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4417 int _arg2
= (int ) wxSIZE_AUTO
;
4418 PyObject
* _argo0
= 0;
4420 PyObject
* _obj1
= 0;
4421 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4435 if (! wxRect_helper(_obj1
, &_arg1
))
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) return NULL
;
4444 } Py_INCREF(Py_None
);
4445 _resultobj
= Py_None
;
4449 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4450 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
* _resultobj
;
4455 int _arg3
= (int ) -1;
4456 int _arg4
= (int ) -1;
4457 int _arg5
= (int ) -1;
4458 int _arg6
= (int ) -1;
4459 PyObject
* _argo0
= 0;
4460 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) return NULL
;
4478 } Py_INCREF(Py_None
);
4479 _resultobj
= Py_None
;
4483 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4484 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4489 int _arg3
= (int ) -1;
4490 int _arg4
= (int ) -1;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self","minW","minH","maxW","maxH", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_SetVirtualSizeHints. Expected _wxWindow_p.");
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxWindow_SetVirtualSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) return NULL
;
4510 } Py_INCREF(Py_None
);
4511 _resultobj
= Py_None
;
4515 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4516 static PyObject
*_wrap_wxWindow_SetVirtualSize(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_SetVirtualSize",_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_SetVirtualSize. Expected _wxWindow_p.");
4537 if (! wxSize_helper(_obj1
, &_arg1
))
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 wxWindow_SetVirtualSize(_arg0
,*_arg1
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) return NULL
;
4546 } Py_INCREF(Py_None
);
4547 _resultobj
= Py_None
;
4551 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4552 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4557 PyObject
* _argo0
= 0;
4558 char *_kwnames
[] = { "self","x","y", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetVirtualSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetVirtualSizeWH. Expected _wxWindow_p.");
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 wxWindow_SetVirtualSizeWH(_arg0
,_arg1
,_arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4576 } Py_INCREF(Py_None
);
4577 _resultobj
= Py_None
;
4581 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4582 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
* _resultobj
;
4586 PyObject
* _argo0
= 0;
4587 char *_kwnames
[] = { "self", NULL
};
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSize",_kwnames
,&_argo0
))
4594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 _result
= new wxSize (wxWindow_GetVirtualSize(_arg0
));
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) return NULL
;
4606 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4607 _resultobj
= Py_BuildValue("s",_ptemp
);
4611 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4612 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4619 PyObject
* _argo0
= 0;
4620 char *_kwnames
[] = { "self", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSizeTuple",_kwnames
,&_argo0
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 wxWindow_GetVirtualSizeTuple(_arg0
,_arg1
,_arg2
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) return NULL
;
4644 } Py_INCREF(Py_None
);
4645 _resultobj
= Py_None
;
4648 o
= PyInt_FromLong((long) (*_arg1
));
4649 _resultobj
= t_output_helper(_resultobj
, o
);
4653 o
= PyInt_FromLong((long) (*_arg2
));
4654 _resultobj
= t_output_helper(_resultobj
, o
);
4659 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4660 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4665 PyObject
* _argo0
= 0;
4666 char *_kwnames
[] = { "self","width","height", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) return NULL
;
4684 } Py_INCREF(Py_None
);
4685 _resultobj
= Py_None
;
4689 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4690 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4694 PyObject
* _argo0
= 0;
4696 PyObject
* _obj1
= 0;
4697 char *_kwnames
[] = { "self","size", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4711 if (! wxSize_helper(_obj1
, &_arg1
))
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 wxWindow_SetClientSize(_arg0
,*_arg1
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4720 } Py_INCREF(Py_None
);
4721 _resultobj
= Py_None
;
4725 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4726 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
* _resultobj
;
4730 PyObject
* _argo0
= 0;
4731 PyObject
* _argo1
= 0;
4732 char *_kwnames
[] = { "self","cursor", NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 wxWindow_SetCursor(_arg0
,*_arg1
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) return NULL
;
4757 } Py_INCREF(Py_None
);
4758 _resultobj
= Py_None
;
4762 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4763 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4766 wxEvtHandler
* _arg1
;
4767 PyObject
* _argo0
= 0;
4768 PyObject
* _argo1
= 0;
4769 char *_kwnames
[] = { "self","handler", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 wxWindow_SetEventHandler(_arg0
,_arg1
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) return NULL
;
4794 } Py_INCREF(Py_None
);
4795 _resultobj
= Py_None
;
4799 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4800 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4804 PyObject
* _argo0
= 0;
4805 char *_kwnames
[] = { "self","exStyle", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) return NULL
;
4823 } Py_INCREF(Py_None
);
4824 _resultobj
= Py_None
;
4828 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4829 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4833 PyObject
* _argo0
= 0;
4834 PyObject
* _obj1
= 0;
4835 char *_kwnames
[] = { "self","title", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4848 _arg1
= wxString_in_helper(_obj1
);
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 wxWindow_SetTitle(_arg0
,*_arg1
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) return NULL
;
4858 } Py_INCREF(Py_None
);
4859 _resultobj
= Py_None
;
4867 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4868 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
* _resultobj
;
4872 bool _arg1
= (bool ) TRUE
;
4873 PyObject
* _argo0
= 0;
4874 int tempbool1
= (int) TRUE
;
4875 char *_kwnames
[] = { "self","show", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4887 _arg1
= (bool ) tempbool1
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) return NULL
;
4894 } _resultobj
= Py_BuildValue("i",_result
);
4898 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4899 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4903 PyObject
* _argo0
= 0;
4904 char *_kwnames
[] = { "self", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) return NULL
;
4922 } _resultobj
= Py_BuildValue("i",_result
);
4926 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4927 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4950 } _resultobj
= Py_BuildValue("i",_result
);
4954 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4955 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4958 PyObject
* _argo0
= 0;
4959 char *_kwnames
[] = { "self", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 wxWindow_UpdateWindowUI(_arg0
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) return NULL
;
4977 } Py_INCREF(Py_None
);
4978 _resultobj
= Py_None
;
4982 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4983 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
* _resultobj
;
4987 PyObject
* _argo0
= 0;
4988 char *_kwnames
[] = { "self", NULL
};
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 _result
= (bool )wxWindow_Validate(_arg0
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) return NULL
;
5006 } _resultobj
= Py_BuildValue("i",_result
);
5010 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5011 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
* _resultobj
;
5016 PyObject
* _argo0
= 0;
5018 PyObject
* _obj1
= 0;
5019 char *_kwnames
[] = { "self","pt", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5034 if (! wxPoint_helper(_obj1
, &_arg1
))
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) return NULL
;
5043 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5044 _resultobj
= Py_BuildValue("s",_ptemp
);
5048 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5049 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
* _resultobj
;
5054 PyObject
* _argo0
= 0;
5056 PyObject
* _obj1
= 0;
5057 char *_kwnames
[] = { "self","sz", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5072 if (! wxSize_helper(_obj1
, &_arg1
))
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) return NULL
;
5081 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5082 _resultobj
= Py_BuildValue("s",_ptemp
);
5086 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5087 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5092 PyObject
* _argo0
= 0;
5094 PyObject
* _obj1
= 0;
5095 char *_kwnames
[] = { "self","pt", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5110 if (! wxPoint_helper(_obj1
, &_arg1
))
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) return NULL
;
5119 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5120 _resultobj
= Py_BuildValue("s",_ptemp
);
5124 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5125 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5130 PyObject
* _argo0
= 0;
5132 PyObject
* _obj1
= 0;
5133 char *_kwnames
[] = { "self","sz", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5148 if (! wxSize_helper(_obj1
, &_arg1
))
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) return NULL
;
5157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5158 _resultobj
= Py_BuildValue("s",_ptemp
);
5162 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5163 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5167 PyObject
* _argo0
= 0;
5168 PyObject
* _obj1
= 0;
5169 char *_kwnames
[] = { "self","tip", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5182 _arg1
= wxString_in_helper(_obj1
);
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) return NULL
;
5192 } Py_INCREF(Py_None
);
5193 _resultobj
= Py_None
;
5201 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5202 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
* _resultobj
;
5206 PyObject
* _argo0
= 0;
5207 PyObject
* _argo1
= 0;
5208 char *_kwnames
[] = { "self","tooltip", NULL
};
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 wxWindow_SetToolTip(_arg0
,_arg1
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) return NULL
;
5233 } Py_INCREF(Py_None
);
5234 _resultobj
= Py_None
;
5238 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5239 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5241 wxToolTip
* _result
;
5243 PyObject
* _argo0
= 0;
5244 char *_kwnames
[] = { "self", NULL
};
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) return NULL
;
5262 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5266 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5267 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5271 bool _arg2
= (bool ) TRUE
;
5272 PyObject
* _argo0
= 0;
5273 PyObject
* _argo1
= 0;
5274 int tempbool2
= (int) TRUE
;
5275 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5294 _arg2
= (bool ) tempbool2
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) return NULL
;
5301 } Py_INCREF(Py_None
);
5302 _resultobj
= Py_None
;
5306 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5307 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
* _resultobj
;
5311 bool _arg2
= (bool ) TRUE
;
5312 PyObject
* _argo0
= 0;
5313 PyObject
* _argo1
= 0;
5314 int tempbool2
= (int) TRUE
;
5315 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizerAndFit",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5334 _arg2
= (bool ) tempbool2
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxWindow_SetSizerAndFit(_arg0
,_arg1
,_arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) return NULL
;
5341 } Py_INCREF(Py_None
);
5342 _resultobj
= Py_None
;
5346 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5347 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
* _resultobj
;
5351 PyObject
* _argo0
= 0;
5352 char *_kwnames
[] = { "self", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) return NULL
;
5370 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5374 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5375 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
* _resultobj
;
5379 PyObject
* _argo0
= 0;
5380 PyObject
* _argo1
= 0;
5381 char *_kwnames
[] = { "self","sizer", NULL
};
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5394 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) return NULL
;
5406 } Py_INCREF(Py_None
);
5407 _resultobj
= Py_None
;
5411 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5412 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5416 PyObject
* _argo0
= 0;
5417 char *_kwnames
[] = { "self", NULL
};
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) return NULL
;
5435 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5439 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5440 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
* _resultobj
;
5442 wxValidator
* _result
;
5444 PyObject
* _argo0
= 0;
5445 char *_kwnames
[] = { "self", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) return NULL
;
5463 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5467 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5468 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5471 wxValidator
* _arg1
;
5472 PyObject
* _argo0
= 0;
5473 PyObject
* _argo1
= 0;
5474 char *_kwnames
[] = { "self","validator", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 wxWindow_SetValidator(_arg0
,*_arg1
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) return NULL
;
5499 } Py_INCREF(Py_None
);
5500 _resultobj
= Py_None
;
5504 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5505 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
* _resultobj
;
5508 wxDropTarget
* _arg1
;
5509 PyObject
* _argo0
= 0;
5510 PyObject
* _argo1
= 0;
5511 char *_kwnames
[] = { "self","target", NULL
};
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 wxWindow_SetDropTarget(_arg0
,_arg1
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) return NULL
;
5536 } Py_INCREF(Py_None
);
5537 _resultobj
= Py_None
;
5541 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5542 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
* _resultobj
;
5544 wxDropTarget
* _result
;
5546 PyObject
* _argo0
= 0;
5547 char *_kwnames
[] = { "self", NULL
};
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) return NULL
;
5567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5568 _resultobj
= Py_BuildValue("s",_ptemp
);
5571 _resultobj
= Py_None
;
5576 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5577 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
* _resultobj
;
5581 PyObject
* _argo0
= 0;
5582 char *_kwnames
[] = { "self", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) return NULL
;
5601 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5602 _resultobj
= Py_BuildValue("s",_ptemp
);
5606 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5607 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5611 PyObject
* _argo0
= 0;
5612 char *_kwnames
[] = { "self", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) return NULL
;
5631 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5632 _resultobj
= Py_BuildValue("s",_ptemp
);
5636 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5637 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
* _resultobj
;
5641 PyObject
* _argo0
= 0;
5642 PyObject
* _argo1
= 0;
5643 char *_kwnames
[] = { "self","caret", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 wxWindow_SetCaret(_arg0
,_arg1
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) return NULL
;
5668 } Py_INCREF(Py_None
);
5669 _resultobj
= Py_None
;
5673 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5674 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
* _resultobj
;
5678 PyObject
* _argo0
= 0;
5679 char *_kwnames
[] = { "self", NULL
};
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) return NULL
;
5699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5700 _resultobj
= Py_BuildValue("s",_ptemp
);
5703 _resultobj
= Py_None
;
5708 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5709 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 wxWindow_Freeze(_arg0
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) return NULL
;
5731 } Py_INCREF(Py_None
);
5732 _resultobj
= Py_None
;
5736 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5737 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5740 PyObject
* _argo0
= 0;
5741 char *_kwnames
[] = { "self", NULL
};
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 wxWindow_Thaw(_arg0
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) return NULL
;
5759 } Py_INCREF(Py_None
);
5760 _resultobj
= Py_None
;
5764 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5765 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
* _resultobj
;
5768 PyObject
* _argo0
= 0;
5769 char *_kwnames
[] = { "self", NULL
};
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 wxWindow_Update(_arg0
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) return NULL
;
5787 } Py_INCREF(Py_None
);
5788 _resultobj
= Py_None
;
5792 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5793 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
* _resultobj
;
5797 PyObject
* _argo0
= 0;
5798 char *_kwnames
[] = { "self", NULL
};
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) return NULL
;
5818 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5820 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5829 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5830 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5834 PyObject
* _argo0
= 0;
5835 PyObject
* _obj1
= 0;
5836 char *_kwnames
[] = { "self","helpText", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5849 _arg1
= wxString_in_helper(_obj1
);
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 wxWindow_SetHelpText(_arg0
,*_arg1
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) return NULL
;
5859 } Py_INCREF(Py_None
);
5860 _resultobj
= Py_None
;
5868 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5869 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5873 PyObject
* _argo0
= 0;
5874 PyObject
* _obj1
= 0;
5875 char *_kwnames
[] = { "self","text", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5888 _arg1
= wxString_in_helper(_obj1
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) return NULL
;
5898 } Py_INCREF(Py_None
);
5899 _resultobj
= Py_None
;
5907 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5908 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
* _resultobj
;
5913 PyObject
* _argo0
= 0;
5914 char *_kwnames
[] = { "self","lines", NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) return NULL
;
5932 } _resultobj
= Py_BuildValue("i",_result
);
5936 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5937 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5942 PyObject
* _argo0
= 0;
5943 char *_kwnames
[] = { "self","pages", NULL
};
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) return NULL
;
5961 } _resultobj
= Py_BuildValue("i",_result
);
5965 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5966 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
* _resultobj
;
5970 PyObject
* _argo0
= 0;
5971 char *_kwnames
[] = { "self", NULL
};
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 _result
= (bool )wxWindow_LineUp(_arg0
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) return NULL
;
5989 } _resultobj
= Py_BuildValue("i",_result
);
5993 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5994 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
* _resultobj
;
5998 PyObject
* _argo0
= 0;
5999 char *_kwnames
[] = { "self", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 _result
= (bool )wxWindow_LineDown(_arg0
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) return NULL
;
6017 } _resultobj
= Py_BuildValue("i",_result
);
6021 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6022 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6026 PyObject
* _argo0
= 0;
6027 char *_kwnames
[] = { "self", NULL
};
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
6033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 _result
= (bool )wxWindow_PageUp(_arg0
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) return NULL
;
6045 } _resultobj
= Py_BuildValue("i",_result
);
6049 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6050 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
* _resultobj
;
6054 PyObject
* _argo0
= 0;
6055 char *_kwnames
[] = { "self", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
6061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 _result
= (bool )wxWindow_PageDown(_arg0
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) return NULL
;
6073 } _resultobj
= Py_BuildValue("i",_result
);
6077 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
* _resultobj
;
6080 char *_kwnames
[] = { NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 _result
= (wxWindow
*)wxWindow::FindFocus();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) return NULL
;
6091 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6095 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6098 char *_kwnames
[] = { NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 _result
= (int )wxWindow::NewControlId();
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) return NULL
;
6109 } _resultobj
= Py_BuildValue("i",_result
);
6113 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
* _resultobj
;
6117 char *_kwnames
[] = { "id", NULL
};
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 _result
= (int )wxWindow::NextControlId(_arg0
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) return NULL
;
6128 } _resultobj
= Py_BuildValue("i",_result
);
6132 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6136 char *_kwnames
[] = { "id", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 _result
= (int )wxWindow::PrevControlId(_arg0
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) return NULL
;
6147 } _resultobj
= Py_BuildValue("i",_result
);
6151 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6152 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6155 wxAcceleratorTable
* _arg1
;
6156 PyObject
* _argo0
= 0;
6157 PyObject
* _argo1
= 0;
6158 char *_kwnames
[] = { "self","accel", NULL
};
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) return NULL
;
6183 } Py_INCREF(Py_None
);
6184 _resultobj
= Py_None
;
6188 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6189 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6191 wxAcceleratorTable
* _result
;
6193 PyObject
* _argo0
= 0;
6194 char *_kwnames
[] = { "self", NULL
};
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) return NULL
;
6214 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6215 _resultobj
= Py_BuildValue("s",_ptemp
);
6218 _resultobj
= Py_None
;
6223 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6224 static PyObject
*_wrap_wxWindow_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6227 wxPaintEvent
* _arg1
;
6228 PyObject
* _argo0
= 0;
6229 PyObject
* _argo1
= 0;
6230 char *_kwnames
[] = { "self","event", NULL
};
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_OnPaint",_kwnames
,&_argo0
,&_argo1
))
6236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaintEvent_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 wxWindow_OnPaint(_arg0
,*_arg1
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) return NULL
;
6255 } Py_INCREF(Py_None
);
6256 _resultobj
= Py_None
;
6260 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6261 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6265 PyObject
* _argo0
= 0;
6266 char *_kwnames
[] = { "self", NULL
};
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) return NULL
;
6284 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6288 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6289 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
* _resultobj
;
6294 PyObject
* _argo0
= 0;
6295 PyObject
* _argo1
= 0;
6296 char *_kwnames
[] = { "self","btn", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) return NULL
;
6321 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6325 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6326 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
* _resultobj
;
6331 PyObject
* _argo0
= 0;
6332 char *_kwnames
[] = { "self","x","y", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) return NULL
;
6350 } Py_INCREF(Py_None
);
6351 _resultobj
= Py_None
;
6355 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6356 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
* _resultobj
;
6359 PyObject
* _argo0
= 0;
6360 char *_kwnames
[] = { "self", NULL
};
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 wxWindow_CaptureMouse(_arg0
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) return NULL
;
6378 } Py_INCREF(Py_None
);
6379 _resultobj
= Py_None
;
6383 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6384 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6387 PyObject
* _argo0
= 0;
6388 char *_kwnames
[] = { "self", NULL
};
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
6394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 wxWindow_ReleaseMouse(_arg0
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) return NULL
;
6406 } Py_INCREF(Py_None
);
6407 _resultobj
= Py_None
;
6411 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6414 char *_kwnames
[] = { NULL
};
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 _result
= (wxWindow
*)wxWindow::GetCapture();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) return NULL
;
6425 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6429 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6430 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
* _resultobj
;
6434 PyObject
* _argo0
= 0;
6435 char *_kwnames
[] = { "self", NULL
};
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 _result
= (bool )wxWindow_HasCapture(_arg0
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) return NULL
;
6453 } _resultobj
= Py_BuildValue("i",_result
);
6457 static void *SwigwxPanelTowxWindow(void *ptr
) {
6460 src
= (wxPanel
*) ptr
;
6461 dest
= (wxWindow
*) src
;
6462 return (void *) dest
;
6465 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6468 src
= (wxPanel
*) ptr
;
6469 dest
= (wxEvtHandler
*) src
;
6470 return (void *) dest
;
6473 static void *SwigwxPanelTowxObject(void *ptr
) {
6476 src
= (wxPanel
*) ptr
;
6477 dest
= (wxObject
*) src
;
6478 return (void *) dest
;
6481 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6482 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
* _resultobj
;
6487 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6488 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6489 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6490 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6491 PyObject
* _argo0
= 0;
6493 PyObject
* _obj2
= 0;
6495 PyObject
* _obj3
= 0;
6496 PyObject
* _obj5
= 0;
6497 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6513 if (! wxPoint_helper(_obj2
, &_arg2
))
6519 if (! wxSize_helper(_obj3
, &_arg3
))
6524 _arg5
= wxString_in_helper(_obj5
);
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) return NULL
;
6535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6536 _resultobj
= Py_BuildValue("s",_ptemp
);
6539 _resultobj
= Py_None
;
6548 #define new_wxPrePanel() (new wxPanel())
6549 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
* _resultobj
;
6552 char *_kwnames
[] = { NULL
};
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 _result
= (wxPanel
*)new_wxPrePanel();
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) return NULL
;
6565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6566 _resultobj
= Py_BuildValue("s",_ptemp
);
6569 _resultobj
= Py_None
;
6574 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6575 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
* _resultobj
;
6581 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6582 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6583 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6584 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6585 PyObject
* _argo0
= 0;
6586 PyObject
* _argo1
= 0;
6588 PyObject
* _obj3
= 0;
6590 PyObject
* _obj4
= 0;
6591 PyObject
* _obj6
= 0;
6592 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6614 if (! wxPoint_helper(_obj3
, &_arg3
))
6620 if (! wxSize_helper(_obj4
, &_arg4
))
6625 _arg6
= wxString_in_helper(_obj6
);
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) return NULL
;
6635 } _resultobj
= Py_BuildValue("i",_result
);
6643 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6644 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
* _resultobj
;
6647 PyObject
* _argo0
= 0;
6648 char *_kwnames
[] = { "self", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 wxPanel_InitDialog(_arg0
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) return NULL
;
6666 } Py_INCREF(Py_None
);
6667 _resultobj
= Py_None
;
6671 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6672 wxScrolledWindow
*src
;
6674 src
= (wxScrolledWindow
*) ptr
;
6675 dest
= (wxPanel
*) src
;
6676 return (void *) dest
;
6679 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6680 wxScrolledWindow
*src
;
6682 src
= (wxScrolledWindow
*) ptr
;
6683 dest
= (wxWindow
*) src
;
6684 return (void *) dest
;
6687 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6688 wxScrolledWindow
*src
;
6690 src
= (wxScrolledWindow
*) ptr
;
6691 dest
= (wxEvtHandler
*) src
;
6692 return (void *) dest
;
6695 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6696 wxScrolledWindow
*src
;
6698 src
= (wxScrolledWindow
*) ptr
;
6699 dest
= (wxObject
*) src
;
6700 return (void *) dest
;
6703 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6704 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6706 wxScrolledWindow
* _result
;
6708 wxWindowID _arg1
= (wxWindowID
) -1;
6709 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6710 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6711 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6712 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6713 PyObject
* _argo0
= 0;
6715 PyObject
* _obj2
= 0;
6717 PyObject
* _obj3
= 0;
6718 PyObject
* _obj5
= 0;
6719 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6735 if (! wxPoint_helper(_obj2
, &_arg2
))
6741 if (! wxSize_helper(_obj3
, &_arg3
))
6746 _arg5
= wxString_in_helper(_obj5
);
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) return NULL
;
6757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6758 _resultobj
= Py_BuildValue("s",_ptemp
);
6761 _resultobj
= Py_None
;
6770 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6771 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
* _resultobj
;
6773 wxScrolledWindow
* _result
;
6774 char *_kwnames
[] = { NULL
};
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) return NULL
;
6787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6788 _resultobj
= Py_BuildValue("s",_ptemp
);
6791 _resultobj
= Py_None
;
6796 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6797 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
* _resultobj
;
6800 wxScrolledWindow
* _arg0
;
6802 wxWindowID _arg2
= (wxWindowID
) -1;
6803 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6804 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6805 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6806 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6807 PyObject
* _argo0
= 0;
6808 PyObject
* _argo1
= 0;
6810 PyObject
* _obj3
= 0;
6812 PyObject
* _obj4
= 0;
6813 PyObject
* _obj6
= 0;
6814 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6836 if (! wxPoint_helper(_obj3
, &_arg3
))
6842 if (! wxSize_helper(_obj4
, &_arg4
))
6847 _arg6
= wxString_in_helper(_obj6
);
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) return NULL
;
6857 } _resultobj
= Py_BuildValue("i",_result
);
6865 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6866 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
* _resultobj
;
6868 wxScrolledWindow
* _arg0
;
6871 PyObject
* _argo0
= 0;
6874 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6886 _arg1
= (bool ) tempbool1
;
6887 _arg2
= (bool ) tempbool2
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) return NULL
;
6894 } Py_INCREF(Py_None
);
6895 _resultobj
= Py_None
;
6899 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6900 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
* _resultobj
;
6903 wxScrolledWindow
* _arg0
;
6905 PyObject
* _argo0
= 0;
6906 char *_kwnames
[] = { "self","orient", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) return NULL
;
6924 } _resultobj
= Py_BuildValue("i",_result
);
6928 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6929 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
* _resultobj
;
6931 wxScrolledWindow
* _arg0
;
6936 PyObject
* _argo0
= 0;
6937 char *_kwnames
[] = { "self", NULL
};
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) return NULL
;
6961 } Py_INCREF(Py_None
);
6962 _resultobj
= Py_None
;
6965 o
= PyInt_FromLong((long) (*_arg1
));
6966 _resultobj
= t_output_helper(_resultobj
, o
);
6970 o
= PyInt_FromLong((long) (*_arg2
));
6971 _resultobj
= t_output_helper(_resultobj
, o
);
6976 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6977 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
* _resultobj
;
6980 wxScrolledWindow
* _arg0
;
6981 PyObject
* _argo0
= 0;
6982 char *_kwnames
[] = { "self", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) return NULL
;
7000 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7004 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7005 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
* _resultobj
;
7008 wxScrolledWindow
* _arg0
;
7009 PyObject
* _argo0
= 0;
7010 char *_kwnames
[] = { "self", NULL
};
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
7016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) return NULL
;
7028 } _resultobj
= Py_BuildValue("i",_result
);
7032 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7033 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
* _resultobj
;
7035 wxScrolledWindow
* _arg0
;
7037 PyObject
* _argo0
= 0;
7038 PyObject
* _argo1
= 0;
7039 char *_kwnames
[] = { "self","dc", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) return NULL
;
7064 } Py_INCREF(Py_None
);
7065 _resultobj
= Py_None
;
7069 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7070 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7072 wxScrolledWindow
* _arg0
;
7075 PyObject
* _argo0
= 0;
7076 char *_kwnames
[] = { "self","x","y", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) return NULL
;
7094 } Py_INCREF(Py_None
);
7095 _resultobj
= Py_None
;
7099 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7100 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
* _resultobj
;
7102 wxScrolledWindow
* _arg0
;
7107 int _arg5
= (int ) 0;
7108 int _arg6
= (int ) 0;
7109 int _arg7
= (int ) FALSE
;
7110 PyObject
* _argo0
= 0;
7111 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
7117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) return NULL
;
7129 } Py_INCREF(Py_None
);
7130 _resultobj
= Py_None
;
7134 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7135 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
* _resultobj
;
7137 wxScrolledWindow
* _arg0
;
7140 PyObject
* _argo0
= 0;
7141 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) return NULL
;
7159 } Py_INCREF(Py_None
);
7160 _resultobj
= Py_None
;
7164 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7165 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
* _resultobj
;
7167 wxScrolledWindow
* _arg0
;
7169 PyObject
* _argo0
= 0;
7170 PyObject
* _argo1
= 0;
7171 char *_kwnames
[] = { "self","window", NULL
};
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) return NULL
;
7196 } Py_INCREF(Py_None
);
7197 _resultobj
= Py_None
;
7201 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7202 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
* _resultobj
;
7204 wxScrolledWindow
* _arg0
;
7209 PyObject
* _argo0
= 0;
7210 char *_kwnames
[] = { "self", NULL
};
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) return NULL
;
7234 } Py_INCREF(Py_None
);
7235 _resultobj
= Py_None
;
7238 o
= PyInt_FromLong((long) (*_arg1
));
7239 _resultobj
= t_output_helper(_resultobj
, o
);
7243 o
= PyInt_FromLong((long) (*_arg2
));
7244 _resultobj
= t_output_helper(_resultobj
, o
);
7249 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7250 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
* _resultobj
;
7253 wxScrolledWindow
* _arg0
;
7255 PyObject
* _argo0
= 0;
7257 PyObject
* _obj1
= 0;
7258 char *_kwnames
[] = { "self","pt", NULL
};
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7273 if (! wxPoint_helper(_obj1
, &_arg1
))
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) return NULL
;
7282 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7283 _resultobj
= Py_BuildValue("s",_ptemp
);
7287 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7288 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7290 wxScrolledWindow
* _arg0
;
7297 PyObject
* _argo0
= 0;
7298 char *_kwnames
[] = { "self","x","y", NULL
};
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) return NULL
;
7322 } Py_INCREF(Py_None
);
7323 _resultobj
= Py_None
;
7326 o
= PyInt_FromLong((long) (*_arg3
));
7327 _resultobj
= t_output_helper(_resultobj
, o
);
7331 o
= PyInt_FromLong((long) (*_arg4
));
7332 _resultobj
= t_output_helper(_resultobj
, o
);
7337 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7338 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
* _resultobj
;
7341 wxScrolledWindow
* _arg0
;
7343 PyObject
* _argo0
= 0;
7345 PyObject
* _obj1
= 0;
7346 char *_kwnames
[] = { "self","pt", NULL
};
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7361 if (! wxPoint_helper(_obj1
, &_arg1
))
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) return NULL
;
7370 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7371 _resultobj
= Py_BuildValue("s",_ptemp
);
7375 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7376 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
* _resultobj
;
7378 wxScrolledWindow
* _arg0
;
7385 PyObject
* _argo0
= 0;
7386 char *_kwnames
[] = { "self","x","y", NULL
};
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) return NULL
;
7410 } Py_INCREF(Py_None
);
7411 _resultobj
= Py_None
;
7414 o
= PyInt_FromLong((long) (*_arg3
));
7415 _resultobj
= t_output_helper(_resultobj
, o
);
7419 o
= PyInt_FromLong((long) (*_arg4
));
7420 _resultobj
= t_output_helper(_resultobj
, o
);
7425 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7426 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
* _resultobj
;
7428 wxScrolledWindow
* _arg0
;
7431 PyObject
* _argo0
= 0;
7432 char *_kwnames
[] = { "self","xs","ys", NULL
};
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) return NULL
;
7450 } Py_INCREF(Py_None
);
7451 _resultobj
= Py_None
;
7455 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7456 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
* _resultobj
;
7459 wxScrolledWindow
* _arg0
;
7460 PyObject
* _argo0
= 0;
7461 char *_kwnames
[] = { "self", NULL
};
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) return NULL
;
7479 } _resultobj
= Py_BuildValue("d",_result
);
7483 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7484 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
* _resultobj
;
7487 wxScrolledWindow
* _arg0
;
7488 PyObject
* _argo0
= 0;
7489 char *_kwnames
[] = { "self", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) return NULL
;
7507 } _resultobj
= Py_BuildValue("d",_result
);
7511 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7512 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
* _resultobj
;
7514 wxScrolledWindow
* _arg0
;
7515 PyObject
* _argo0
= 0;
7516 char *_kwnames
[] = { "self", NULL
};
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 wxScrolledWindow_AdjustScrollbars(_arg0
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) return NULL
;
7534 } Py_INCREF(Py_None
);
7535 _resultobj
= Py_None
;
7539 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7540 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
* _resultobj
;
7543 wxScrolledWindow
* _arg0
;
7544 PyObject
* _argo0
= 0;
7545 char *_kwnames
[] = { "self", NULL
};
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) return NULL
;
7563 } _resultobj
= Py_BuildValue("i",_result
);
7567 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7568 static PyObject
*_wrap_wxScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7570 wxScrolledWindow
* _arg0
;
7573 PyObject
* _argo0
= 0;
7574 char *_kwnames
[] = { "self","xstep","ystep", NULL
};
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollRate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 wxScrolledWindow_SetScrollRate(_arg0
,_arg1
,_arg2
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) return NULL
;
7592 } Py_INCREF(Py_None
);
7593 _resultobj
= Py_None
;
7597 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7600 src
= (wxMenu
*) ptr
;
7601 dest
= (wxEvtHandler
*) src
;
7602 return (void *) dest
;
7605 static void *SwigwxMenuTowxObject(void *ptr
) {
7608 src
= (wxMenu
*) ptr
;
7609 dest
= (wxObject
*) src
;
7610 return (void *) dest
;
7613 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7614 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
* _resultobj
;
7617 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7618 long _arg1
= (long ) 0;
7619 PyObject
* _obj0
= 0;
7620 char *_kwnames
[] = { "title","style", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7628 _arg0
= wxString_in_helper(_obj0
);
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) return NULL
;
7639 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7640 _resultobj
= Py_BuildValue("s",_ptemp
);
7643 _resultobj
= Py_None
;
7652 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7653 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
* _resultobj
;
7658 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7659 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7660 PyObject
* _argo0
= 0;
7661 PyObject
* _obj2
= 0;
7662 PyObject
* _obj3
= 0;
7663 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7676 _arg2
= wxString_in_helper(_obj2
);
7682 _arg3
= wxString_in_helper(_obj3
);
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) return NULL
;
7692 } Py_INCREF(Py_None
);
7693 _resultobj
= Py_None
;
7705 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7706 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
* _resultobj
;
7712 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7713 PyObject
* _argo0
= 0;
7714 PyObject
* _obj2
= 0;
7715 PyObject
* _argo3
= 0;
7716 PyObject
* _obj4
= 0;
7717 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7730 _arg2
= wxString_in_helper(_obj2
);
7735 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7736 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7743 _arg4
= wxString_in_helper(_obj4
);
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) return NULL
;
7753 } Py_INCREF(Py_None
);
7754 _resultobj
= Py_None
;
7766 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7767 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
* _resultobj
;
7771 PyObject
* _argo0
= 0;
7772 PyObject
* _argo1
= 0;
7773 char *_kwnames
[] = { "self","item", NULL
};
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7786 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7787 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 wxMenu_AppendItem(_arg0
,_arg1
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) return NULL
;
7798 } Py_INCREF(Py_None
);
7799 _resultobj
= Py_None
;
7803 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7804 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
* _resultobj
;
7809 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7810 PyObject
* _argo0
= 0;
7811 PyObject
* _obj2
= 0;
7812 PyObject
* _obj3
= 0;
7813 char *_kwnames
[] = { "self","id","text","help", NULL
};
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7826 _arg2
= wxString_in_helper(_obj2
);
7832 _arg3
= wxString_in_helper(_obj3
);
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) return NULL
;
7842 } Py_INCREF(Py_None
);
7843 _resultobj
= Py_None
;
7855 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7856 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
* _resultobj
;
7861 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7862 PyObject
* _argo0
= 0;
7863 PyObject
* _obj2
= 0;
7864 PyObject
* _obj3
= 0;
7865 char *_kwnames
[] = { "self","id","text","help", NULL
};
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7878 _arg2
= wxString_in_helper(_obj2
);
7884 _arg3
= wxString_in_helper(_obj3
);
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) return NULL
;
7894 } Py_INCREF(Py_None
);
7895 _resultobj
= Py_None
;
7907 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7908 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
* _resultobj
;
7911 PyObject
* _argo0
= 0;
7912 char *_kwnames
[] = { "self", NULL
};
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 wxMenu_AppendSeparator(_arg0
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) return NULL
;
7930 } Py_INCREF(Py_None
);
7931 _resultobj
= Py_None
;
7935 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7936 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
* _resultobj
;
7942 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7943 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
7944 PyObject
* _argo0
= 0;
7945 PyObject
* _obj3
= 0;
7946 PyObject
* _obj4
= 0;
7947 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7960 _arg3
= wxString_in_helper(_obj3
);
7966 _arg4
= wxString_in_helper(_obj4
);
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) return NULL
;
7976 } Py_INCREF(Py_None
);
7977 _resultobj
= Py_None
;
7989 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7990 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
* _resultobj
;
7994 PyObject
* _argo0
= 0;
7995 char *_kwnames
[] = { "self","pos", NULL
};
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
8001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 wxMenu_InsertSeparator(_arg0
,_arg1
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) return NULL
;
8013 } Py_INCREF(Py_None
);
8014 _resultobj
= Py_None
;
8018 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8019 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
* _resultobj
;
8025 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8026 PyObject
* _argo0
= 0;
8027 PyObject
* _obj3
= 0;
8028 PyObject
* _obj4
= 0;
8029 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8042 _arg3
= wxString_in_helper(_obj3
);
8048 _arg4
= wxString_in_helper(_obj4
);
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) return NULL
;
8058 } Py_INCREF(Py_None
);
8059 _resultobj
= Py_None
;
8071 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8072 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
* _resultobj
;
8078 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8079 PyObject
* _argo0
= 0;
8080 PyObject
* _obj3
= 0;
8081 PyObject
* _obj4
= 0;
8082 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8095 _arg3
= wxString_in_helper(_obj3
);
8101 _arg4
= wxString_in_helper(_obj4
);
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) return NULL
;
8111 } Py_INCREF(Py_None
);
8112 _resultobj
= Py_None
;
8124 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8125 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
* _resultobj
;
8132 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
8133 PyObject
* _argo0
= 0;
8134 PyObject
* _obj3
= 0;
8135 PyObject
* _argo4
= 0;
8136 PyObject
* _obj5
= 0;
8137 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
8143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8150 _arg3
= wxString_in_helper(_obj3
);
8155 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8156 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
8157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8163 _arg5
= wxString_in_helper(_obj5
);
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) return NULL
;
8173 } Py_INCREF(Py_None
);
8174 _resultobj
= Py_None
;
8186 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8187 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
* _resultobj
;
8193 PyObject
* _argo0
= 0;
8194 PyObject
* _argo2
= 0;
8195 char *_kwnames
[] = { "self","pos","item", NULL
};
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8208 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8209 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) return NULL
;
8220 } _resultobj
= Py_BuildValue("i",_result
);
8224 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8225 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
* _resultobj
;
8230 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8231 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8232 PyObject
* _argo0
= 0;
8233 PyObject
* _obj2
= 0;
8234 PyObject
* _obj3
= 0;
8235 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8248 _arg2
= wxString_in_helper(_obj2
);
8254 _arg3
= wxString_in_helper(_obj3
);
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) return NULL
;
8264 } Py_INCREF(Py_None
);
8265 _resultobj
= Py_None
;
8277 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8278 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
* _resultobj
;
8281 PyObject
* _argo0
= 0;
8282 char *_kwnames
[] = { "self", NULL
};
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 wxMenu_PrependSeparator(_arg0
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) return NULL
;
8300 } Py_INCREF(Py_None
);
8301 _resultobj
= Py_None
;
8305 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8306 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
* _resultobj
;
8311 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8312 PyObject
* _argo0
= 0;
8313 PyObject
* _obj2
= 0;
8314 PyObject
* _obj3
= 0;
8315 char *_kwnames
[] = { "self","id","text","help", NULL
};
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8328 _arg2
= wxString_in_helper(_obj2
);
8334 _arg3
= wxString_in_helper(_obj3
);
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) return NULL
;
8344 } Py_INCREF(Py_None
);
8345 _resultobj
= Py_None
;
8357 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8358 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
* _resultobj
;
8363 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8364 PyObject
* _argo0
= 0;
8365 PyObject
* _obj2
= 0;
8366 PyObject
* _obj3
= 0;
8367 char *_kwnames
[] = { "self","id","text","help", NULL
};
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8380 _arg2
= wxString_in_helper(_obj2
);
8386 _arg3
= wxString_in_helper(_obj3
);
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) return NULL
;
8396 } Py_INCREF(Py_None
);
8397 _resultobj
= Py_None
;
8409 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8410 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
* _resultobj
;
8416 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8417 PyObject
* _argo0
= 0;
8418 PyObject
* _obj2
= 0;
8419 PyObject
* _argo3
= 0;
8420 PyObject
* _obj4
= 0;
8421 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8434 _arg2
= wxString_in_helper(_obj2
);
8439 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8440 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8447 _arg4
= wxString_in_helper(_obj4
);
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) return NULL
;
8457 } Py_INCREF(Py_None
);
8458 _resultobj
= Py_None
;
8470 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8471 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8475 PyObject
* _argo0
= 0;
8476 PyObject
* _argo1
= 0;
8477 char *_kwnames
[] = { "self","item", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 wxMenu_PrependItem(_arg0
,_arg1
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) return NULL
;
8502 } Py_INCREF(Py_None
);
8503 _resultobj
= Py_None
;
8507 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8508 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
* _resultobj
;
8511 PyObject
* _argo0
= 0;
8512 char *_kwnames
[] = { "self", NULL
};
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 wxMenu_Break(_arg0
);
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) return NULL
;
8530 } Py_INCREF(Py_None
);
8531 _resultobj
= Py_None
;
8535 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8536 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
* _resultobj
;
8541 PyObject
* _argo0
= 0;
8543 char *_kwnames
[] = { "self","id","flag", NULL
};
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8555 _arg2
= (bool ) tempbool2
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) return NULL
;
8562 } Py_INCREF(Py_None
);
8563 _resultobj
= Py_None
;
8567 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8568 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
* _resultobj
;
8573 PyObject
* _argo0
= 0;
8574 char *_kwnames
[] = { "self","id", NULL
};
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) return NULL
;
8592 } _resultobj
= Py_BuildValue("i",_result
);
8596 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8597 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
* _resultobj
;
8602 PyObject
* _argo0
= 0;
8604 char *_kwnames
[] = { "self","id","enable", NULL
};
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8616 _arg2
= (bool ) tempbool2
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) return NULL
;
8623 } Py_INCREF(Py_None
);
8624 _resultobj
= Py_None
;
8628 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8629 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8634 PyObject
* _argo0
= 0;
8635 char *_kwnames
[] = { "self","id", NULL
};
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) return NULL
;
8653 } _resultobj
= Py_BuildValue("i",_result
);
8657 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8658 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
* _resultobj
;
8663 PyObject
* _argo0
= 0;
8664 PyObject
* _obj1
= 0;
8665 char *_kwnames
[] = { "self","itemString", NULL
};
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8678 _arg1
= wxString_in_helper(_obj1
);
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) return NULL
;
8688 } _resultobj
= Py_BuildValue("i",_result
);
8696 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8697 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
* _resultobj
;
8699 wxMenuItem
* _result
;
8702 PyObject
* _argo0
= 0;
8703 char *_kwnames
[] = { "self","id", NULL
};
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) return NULL
;
8721 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8725 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8726 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
* _resultobj
;
8730 PyObject
* _argo0
= 0;
8731 char *_kwnames
[] = { "self", NULL
};
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) return NULL
;
8751 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8753 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8762 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8763 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
* _resultobj
;
8767 PyObject
* _argo0
= 0;
8768 PyObject
* _obj1
= 0;
8769 char *_kwnames
[] = { "self","title", NULL
};
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8782 _arg1
= wxString_in_helper(_obj1
);
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 wxMenu_SetTitle(_arg0
,*_arg1
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) return NULL
;
8792 } Py_INCREF(Py_None
);
8793 _resultobj
= Py_None
;
8801 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8802 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
* _resultobj
;
8807 PyObject
* _argo0
= 0;
8808 char *_kwnames
[] = { "self","id", NULL
};
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) return NULL
;
8828 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8830 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8839 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8840 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
* _resultobj
;
8845 PyObject
* _argo0
= 0;
8846 PyObject
* _obj2
= 0;
8847 char *_kwnames
[] = { "self","id","label", NULL
};
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8860 _arg2
= wxString_in_helper(_obj2
);
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) return NULL
;
8870 } Py_INCREF(Py_None
);
8871 _resultobj
= Py_None
;
8879 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8880 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
* _resultobj
;
8885 PyObject
* _argo0
= 0;
8886 char *_kwnames
[] = { "self","id", NULL
};
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) return NULL
;
8906 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8908 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8917 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8918 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
* _resultobj
;
8923 PyObject
* _argo0
= 0;
8924 PyObject
* _obj2
= 0;
8925 char *_kwnames
[] = { "self","id","helpString", NULL
};
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8938 _arg2
= wxString_in_helper(_obj2
);
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) return NULL
;
8948 } Py_INCREF(Py_None
);
8949 _resultobj
= Py_None
;
8957 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8958 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
* _resultobj
;
8961 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8962 PyObject
* _argo0
= 0;
8963 PyObject
* _argo1
= 0;
8964 char *_kwnames
[] = { "self","source", NULL
};
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
8970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8977 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8978 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 wxMenu_UpdateUI(_arg0
,_arg1
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) return NULL
;
8989 } Py_INCREF(Py_None
);
8990 _resultobj
= Py_None
;
8994 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8995 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
* _resultobj
;
9000 PyObject
* _argo0
= 0;
9001 char *_kwnames
[] = { "self","id", NULL
};
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
9007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) return NULL
;
9019 } _resultobj
= Py_BuildValue("i",_result
);
9023 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9024 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
* _resultobj
;
9029 PyObject
* _argo0
= 0;
9030 PyObject
* _argo1
= 0;
9031 char *_kwnames
[] = { "self","item", NULL
};
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
9037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) return NULL
;
9056 } _resultobj
= Py_BuildValue("i",_result
);
9060 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9061 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
* _resultobj
;
9063 wxMenuItem
* _result
;
9066 PyObject
* _argo0
= 0;
9067 char *_kwnames
[] = { "self","id", NULL
};
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
9073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) return NULL
;
9085 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9089 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9090 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
* _resultobj
;
9092 wxMenuItem
* _result
;
9095 PyObject
* _argo0
= 0;
9096 PyObject
* _argo1
= 0;
9097 char *_kwnames
[] = { "self","item", NULL
};
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
9103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) return NULL
;
9122 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9126 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
9127 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
* _resultobj
;
9130 PyObject
* _argo0
= 0;
9131 char *_kwnames
[] = { "self", NULL
};
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
9137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 wxMenu_Destroy(_arg0
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) return NULL
;
9149 } Py_INCREF(Py_None
);
9150 _resultobj
= Py_None
;
9154 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9155 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
* _resultobj
;
9160 PyObject
* _argo0
= 0;
9161 char *_kwnames
[] = { "self","id", NULL
};
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
9167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) return NULL
;
9179 } _resultobj
= Py_BuildValue("i",_result
);
9183 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9184 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
* _resultobj
;
9189 PyObject
* _argo0
= 0;
9190 PyObject
* _argo1
= 0;
9191 char *_kwnames
[] = { "self","item", NULL
};
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
9197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) return NULL
;
9216 } _resultobj
= Py_BuildValue("i",_result
);
9220 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9221 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
* _resultobj
;
9225 PyObject
* _argo0
= 0;
9226 char *_kwnames
[] = { "self", NULL
};
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) return NULL
;
9244 } _resultobj
= Py_BuildValue("i",_result
);
9248 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9249 wxMenuItemList
& list
= self
->GetMenuItems();
9250 return wxPy_ConvertList(&list
, "wxMenuItem");
9252 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
* _resultobj
;
9256 PyObject
* _argo0
= 0;
9257 char *_kwnames
[] = { "self", NULL
};
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) return NULL
;
9276 _resultobj
= _result
;
9281 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9282 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
* _resultobj
;
9285 wxEvtHandler
* _arg1
;
9286 PyObject
* _argo0
= 0;
9287 PyObject
* _argo1
= 0;
9288 char *_kwnames
[] = { "self","handler", NULL
};
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 wxMenu_SetEventHandler(_arg0
,_arg1
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) return NULL
;
9313 } Py_INCREF(Py_None
);
9314 _resultobj
= Py_None
;
9318 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9319 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
* _resultobj
;
9321 wxEvtHandler
* _result
;
9323 PyObject
* _argo0
= 0;
9324 char *_kwnames
[] = { "self", NULL
};
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) return NULL
;
9342 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9346 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9347 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
* _resultobj
;
9351 PyObject
* _argo0
= 0;
9352 PyObject
* _argo1
= 0;
9353 char *_kwnames
[] = { "self","win", NULL
};
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) return NULL
;
9378 } Py_INCREF(Py_None
);
9379 _resultobj
= Py_None
;
9383 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9384 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
* _resultobj
;
9388 PyObject
* _argo0
= 0;
9389 char *_kwnames
[] = { "self", NULL
};
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) return NULL
;
9407 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9411 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9412 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
* _resultobj
;
9416 PyObject
* _argo0
= 0;
9417 char *_kwnames
[] = { "self", NULL
};
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 _result
= (long )wxMenu_GetStyle(_arg0
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) return NULL
;
9435 } _resultobj
= Py_BuildValue("l",_result
);
9439 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9440 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
* _resultobj
;
9444 PyObject
* _argo0
= 0;
9445 char *_kwnames
[] = { "self", NULL
};
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 _result
= (bool )wxMenu_IsAttached(_arg0
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) return NULL
;
9463 } _resultobj
= Py_BuildValue("i",_result
);
9467 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9468 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
* _resultobj
;
9472 PyObject
* _argo0
= 0;
9473 PyObject
* _argo1
= 0;
9474 char *_kwnames
[] = { "self","parent", NULL
};
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 wxMenu_SetParent(_arg0
,_arg1
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) return NULL
;
9499 } Py_INCREF(Py_None
);
9500 _resultobj
= Py_None
;
9504 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9505 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
* _resultobj
;
9509 PyObject
* _argo0
= 0;
9510 char *_kwnames
[] = { "self", NULL
};
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) return NULL
;
9528 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9532 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9535 src
= (wxMenuBar
*) ptr
;
9536 dest
= (wxWindow
*) src
;
9537 return (void *) dest
;
9540 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9543 src
= (wxMenuBar
*) ptr
;
9544 dest
= (wxEvtHandler
*) src
;
9545 return (void *) dest
;
9548 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9551 src
= (wxMenuBar
*) ptr
;
9552 dest
= (wxObject
*) src
;
9553 return (void *) dest
;
9556 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9557 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
* _resultobj
;
9559 wxMenuBar
* _result
;
9560 long _arg0
= (long ) 0;
9561 char *_kwnames
[] = { "style", NULL
};
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) return NULL
;
9574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9575 _resultobj
= Py_BuildValue("s",_ptemp
);
9578 _resultobj
= Py_None
;
9583 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9584 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
* _resultobj
;
9590 PyObject
* _argo0
= 0;
9591 PyObject
* _argo1
= 0;
9592 PyObject
* _obj2
= 0;
9593 char *_kwnames
[] = { "self","menu","title", NULL
};
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9606 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9607 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9613 _arg2
= wxString_in_helper(_obj2
);
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) return NULL
;
9623 } _resultobj
= Py_BuildValue("i",_result
);
9631 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9632 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
* _resultobj
;
9639 PyObject
* _argo0
= 0;
9640 PyObject
* _argo2
= 0;
9641 PyObject
* _obj3
= 0;
9642 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9655 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9656 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9662 _arg3
= wxString_in_helper(_obj3
);
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) return NULL
;
9672 } _resultobj
= Py_BuildValue("i",_result
);
9680 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9681 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
* _resultobj
;
9685 PyObject
* _argo0
= 0;
9686 char *_kwnames
[] = { "self", NULL
};
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) return NULL
;
9704 } _resultobj
= Py_BuildValue("i",_result
);
9708 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9709 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
* _resultobj
;
9714 PyObject
* _argo0
= 0;
9715 char *_kwnames
[] = { "self","pos", NULL
};
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) return NULL
;
9733 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9737 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9738 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
* _resultobj
;
9745 PyObject
* _argo0
= 0;
9746 PyObject
* _argo2
= 0;
9747 PyObject
* _obj3
= 0;
9748 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9761 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9762 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9768 _arg3
= wxString_in_helper(_obj3
);
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) return NULL
;
9778 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9786 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9787 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
* _resultobj
;
9792 PyObject
* _argo0
= 0;
9793 char *_kwnames
[] = { "self","pos", NULL
};
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) return NULL
;
9811 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9815 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9816 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
* _resultobj
;
9821 PyObject
* _argo0
= 0;
9823 char *_kwnames
[] = { "self","pos","enable", NULL
};
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9835 _arg2
= (bool ) tempbool2
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) return NULL
;
9842 } Py_INCREF(Py_None
);
9843 _resultobj
= Py_None
;
9847 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9848 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
* _resultobj
;
9853 PyObject
* _argo0
= 0;
9854 PyObject
* _obj2
= 0;
9855 char *_kwnames
[] = { "self","pos","label", NULL
};
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9868 _arg2
= wxString_in_helper(_obj2
);
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) return NULL
;
9878 } Py_INCREF(Py_None
);
9879 _resultobj
= Py_None
;
9887 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9888 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
* _resultobj
;
9893 PyObject
* _argo0
= 0;
9894 char *_kwnames
[] = { "self","pos", NULL
};
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) return NULL
;
9914 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9916 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9925 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9926 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
* _resultobj
;
9931 PyObject
* _argo0
= 0;
9932 PyObject
* _obj1
= 0;
9933 char *_kwnames
[] = { "self","title", NULL
};
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9946 _arg1
= wxString_in_helper(_obj1
);
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) return NULL
;
9956 } _resultobj
= Py_BuildValue("i",_result
);
9964 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9965 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
* _resultobj
;
9971 PyObject
* _argo0
= 0;
9972 PyObject
* _obj1
= 0;
9973 PyObject
* _obj2
= 0;
9974 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9987 _arg1
= wxString_in_helper(_obj1
);
9992 _arg2
= wxString_in_helper(_obj2
);
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) return NULL
;
10002 } _resultobj
= Py_BuildValue("i",_result
);
10014 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10015 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
* _resultobj
;
10017 wxMenuItem
* _result
;
10020 PyObject
* _argo0
= 0;
10021 char *_kwnames
[] = { "self","id", NULL
};
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
10027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) return NULL
;
10039 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10043 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10044 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
* _resultobj
;
10049 PyObject
* _argo0
= 0;
10051 char *_kwnames
[] = { "self","id","enable", NULL
};
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10063 _arg2
= (bool ) tempbool2
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) return NULL
;
10070 } Py_INCREF(Py_None
);
10071 _resultobj
= Py_None
;
10075 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10076 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
* _resultobj
;
10081 PyObject
* _argo0
= 0;
10083 char *_kwnames
[] = { "self","id","check", NULL
};
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10095 _arg2
= (bool ) tempbool2
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) return NULL
;
10102 } Py_INCREF(Py_None
);
10103 _resultobj
= Py_None
;
10107 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10108 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
* _resultobj
;
10113 PyObject
* _argo0
= 0;
10114 char *_kwnames
[] = { "self","id", NULL
};
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
10120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) return NULL
;
10132 } _resultobj
= Py_BuildValue("i",_result
);
10136 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10137 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
* _resultobj
;
10142 PyObject
* _argo0
= 0;
10143 char *_kwnames
[] = { "self","id", NULL
};
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
10149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) return NULL
;
10161 } _resultobj
= Py_BuildValue("i",_result
);
10165 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10166 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
* _resultobj
;
10171 PyObject
* _argo0
= 0;
10172 PyObject
* _obj2
= 0;
10173 char *_kwnames
[] = { "self","id","label", NULL
};
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10186 _arg2
= wxString_in_helper(_obj2
);
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) return NULL
;
10196 } Py_INCREF(Py_None
);
10197 _resultobj
= Py_None
;
10205 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10206 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
* _resultobj
;
10208 wxString
* _result
;
10211 PyObject
* _argo0
= 0;
10212 char *_kwnames
[] = { "self","id", NULL
};
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
10218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) return NULL
;
10232 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10234 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10243 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10244 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
* _resultobj
;
10249 PyObject
* _argo0
= 0;
10250 PyObject
* _obj2
= 0;
10251 char *_kwnames
[] = { "self","id","helpString", NULL
};
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10264 _arg2
= wxString_in_helper(_obj2
);
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) return NULL
;
10274 } Py_INCREF(Py_None
);
10275 _resultobj
= Py_None
;
10283 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10284 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
* _resultobj
;
10286 wxString
* _result
;
10289 PyObject
* _argo0
= 0;
10290 char *_kwnames
[] = { "self","id", NULL
};
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) return NULL
;
10310 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10312 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10321 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10324 src
= (wxMenuItem
*) ptr
;
10325 dest
= (wxObject
*) src
;
10326 return (void *) dest
;
10329 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10330 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
* _resultobj
;
10332 wxMenuItem
* _result
;
10333 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10334 int _arg1
= (int ) wxID_SEPARATOR
;
10335 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10336 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10337 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10338 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10339 PyObject
* _argo0
= 0;
10340 PyObject
* _obj2
= 0;
10341 PyObject
* _obj3
= 0;
10342 PyObject
* _argo5
= 0;
10343 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10358 _arg2
= wxString_in_helper(_obj2
);
10364 _arg3
= wxString_in_helper(_obj3
);
10369 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10370 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) return NULL
;
10382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10383 _resultobj
= Py_BuildValue("s",_ptemp
);
10385 Py_INCREF(Py_None
);
10386 _resultobj
= Py_None
;
10399 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10400 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
* _resultobj
;
10403 wxMenuItem
* _arg0
;
10404 PyObject
* _argo0
= 0;
10405 char *_kwnames
[] = { "self", NULL
};
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) return NULL
;
10423 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10427 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10428 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
* _resultobj
;
10430 wxMenuItem
* _arg0
;
10432 PyObject
* _argo0
= 0;
10433 char *_kwnames
[] = { "self","id", NULL
};
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 wxMenuItem_SetId(_arg0
,_arg1
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) return NULL
;
10451 } Py_INCREF(Py_None
);
10452 _resultobj
= Py_None
;
10456 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10457 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
* _resultobj
;
10460 wxMenuItem
* _arg0
;
10461 PyObject
* _argo0
= 0;
10462 char *_kwnames
[] = { "self", NULL
};
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 _result
= (int )wxMenuItem_GetId(_arg0
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) return NULL
;
10480 } _resultobj
= Py_BuildValue("i",_result
);
10484 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10485 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
* _resultobj
;
10488 wxMenuItem
* _arg0
;
10489 PyObject
* _argo0
= 0;
10490 char *_kwnames
[] = { "self", NULL
};
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) return NULL
;
10508 } _resultobj
= Py_BuildValue("i",_result
);
10512 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10513 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
* _resultobj
;
10515 wxMenuItem
* _arg0
;
10517 PyObject
* _argo0
= 0;
10518 PyObject
* _obj1
= 0;
10519 char *_kwnames
[] = { "self","str", NULL
};
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10532 _arg1
= wxString_in_helper(_obj1
);
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 wxMenuItem_SetText(_arg0
,*_arg1
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) return NULL
;
10542 } Py_INCREF(Py_None
);
10543 _resultobj
= Py_None
;
10551 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10552 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
* _resultobj
;
10554 wxString
* _result
;
10555 wxMenuItem
* _arg0
;
10556 PyObject
* _argo0
= 0;
10557 char *_kwnames
[] = { "self", NULL
};
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) return NULL
;
10577 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10579 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10588 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10589 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
* _resultobj
;
10591 wxString
* _result
;
10592 wxMenuItem
* _arg0
;
10593 PyObject
* _argo0
= 0;
10594 char *_kwnames
[] = { "self", NULL
};
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10609 _result
= (wxString
*) &_result_ref
;
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) return NULL
;
10615 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10617 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10623 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10624 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
* _resultobj
;
10626 wxItemKind _result
;
10627 wxMenuItem
* _arg0
;
10628 PyObject
* _argo0
= 0;
10629 char *_kwnames
[] = { "self", NULL
};
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) return NULL
;
10647 } _resultobj
= Py_BuildValue("i",_result
);
10651 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10652 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
* _resultobj
;
10654 wxMenuItem
* _arg0
;
10656 PyObject
* _argo0
= 0;
10658 char *_kwnames
[] = { "self","checkable", NULL
};
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10670 _arg1
= (bool ) tempbool1
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) return NULL
;
10677 } Py_INCREF(Py_None
);
10678 _resultobj
= Py_None
;
10682 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10683 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
* _resultobj
;
10686 wxMenuItem
* _arg0
;
10687 PyObject
* _argo0
= 0;
10688 char *_kwnames
[] = { "self", NULL
};
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) return NULL
;
10706 } _resultobj
= Py_BuildValue("i",_result
);
10710 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10711 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
* _resultobj
;
10714 wxMenuItem
* _arg0
;
10715 PyObject
* _argo0
= 0;
10716 char *_kwnames
[] = { "self", NULL
};
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) return NULL
;
10734 } _resultobj
= Py_BuildValue("i",_result
);
10738 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10739 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
* _resultobj
;
10741 wxMenuItem
* _arg0
;
10743 PyObject
* _argo0
= 0;
10744 PyObject
* _argo1
= 0;
10745 char *_kwnames
[] = { "self","menu", NULL
};
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10758 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10759 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) return NULL
;
10770 } Py_INCREF(Py_None
);
10771 _resultobj
= Py_None
;
10775 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10776 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
* _resultobj
;
10779 wxMenuItem
* _arg0
;
10780 PyObject
* _argo0
= 0;
10781 char *_kwnames
[] = { "self", NULL
};
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) return NULL
;
10799 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10803 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10804 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
* _resultobj
;
10806 wxMenuItem
* _arg0
;
10807 bool _arg1
= (bool ) TRUE
;
10808 PyObject
* _argo0
= 0;
10809 int tempbool1
= (int) TRUE
;
10810 char *_kwnames
[] = { "self","enable", NULL
};
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10822 _arg1
= (bool ) tempbool1
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 wxMenuItem_Enable(_arg0
,_arg1
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) return NULL
;
10829 } Py_INCREF(Py_None
);
10830 _resultobj
= Py_None
;
10834 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10835 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
* _resultobj
;
10838 wxMenuItem
* _arg0
;
10839 PyObject
* _argo0
= 0;
10840 char *_kwnames
[] = { "self", NULL
};
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) return NULL
;
10858 } _resultobj
= Py_BuildValue("i",_result
);
10862 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10863 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
* _resultobj
;
10865 wxMenuItem
* _arg0
;
10866 bool _arg1
= (bool ) TRUE
;
10867 PyObject
* _argo0
= 0;
10868 int tempbool1
= (int) TRUE
;
10869 char *_kwnames
[] = { "self","check", NULL
};
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10881 _arg1
= (bool ) tempbool1
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 wxMenuItem_Check(_arg0
,_arg1
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) return NULL
;
10888 } Py_INCREF(Py_None
);
10889 _resultobj
= Py_None
;
10893 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10894 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
* _resultobj
;
10897 wxMenuItem
* _arg0
;
10898 PyObject
* _argo0
= 0;
10899 char *_kwnames
[] = { "self", NULL
};
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) return NULL
;
10917 } _resultobj
= Py_BuildValue("i",_result
);
10921 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10922 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
* _resultobj
;
10924 wxMenuItem
* _arg0
;
10925 PyObject
* _argo0
= 0;
10926 char *_kwnames
[] = { "self", NULL
};
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 wxMenuItem_Toggle(_arg0
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) return NULL
;
10944 } Py_INCREF(Py_None
);
10945 _resultobj
= Py_None
;
10949 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10950 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
* _resultobj
;
10952 wxMenuItem
* _arg0
;
10954 PyObject
* _argo0
= 0;
10955 PyObject
* _obj1
= 0;
10956 char *_kwnames
[] = { "self","str", NULL
};
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10969 _arg1
= wxString_in_helper(_obj1
);
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) return NULL
;
10979 } Py_INCREF(Py_None
);
10980 _resultobj
= Py_None
;
10988 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10989 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
* _resultobj
;
10991 wxString
* _result
;
10992 wxMenuItem
* _arg0
;
10993 PyObject
* _argo0
= 0;
10994 char *_kwnames
[] = { "self", NULL
};
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
11000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
11009 _result
= (wxString
*) &_result_ref
;
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) return NULL
;
11015 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11017 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11023 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11024 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
* _resultobj
;
11026 wxAcceleratorEntry
* _result
;
11027 wxMenuItem
* _arg0
;
11028 PyObject
* _argo0
= 0;
11029 char *_kwnames
[] = { "self", NULL
};
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
11036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) return NULL
;
11049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
11050 _resultobj
= Py_BuildValue("s",_ptemp
);
11052 Py_INCREF(Py_None
);
11053 _resultobj
= Py_None
;
11058 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11059 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
* _resultobj
;
11061 wxMenuItem
* _arg0
;
11062 wxAcceleratorEntry
* _arg1
;
11063 PyObject
* _argo0
= 0;
11064 PyObject
* _argo1
= 0;
11065 char *_kwnames
[] = { "self","accel", NULL
};
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
11071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
11080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 wxMenuItem_SetAccel(_arg0
,_arg1
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) return NULL
;
11090 } Py_INCREF(Py_None
);
11091 _resultobj
= Py_None
;
11095 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
* _resultobj
;
11097 wxString
* _result
;
11099 PyObject
* _obj0
= 0;
11100 char *_kwnames
[] = { "text", NULL
};
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
11106 _arg0
= wxString_in_helper(_obj0
);
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) return NULL
;
11118 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11120 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11133 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
11134 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
* _resultobj
;
11136 wxMenuItem
* _arg0
;
11138 PyObject
* _argo0
= 0;
11139 PyObject
* _argo1
= 0;
11140 char *_kwnames
[] = { "self","font", NULL
};
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
11146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
11153 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11154 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 wxMenuItem_SetFont(_arg0
,*_arg1
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) return NULL
;
11165 } Py_INCREF(Py_None
);
11166 _resultobj
= Py_None
;
11170 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
11171 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
* _resultobj
;
11174 wxMenuItem
* _arg0
;
11175 PyObject
* _argo0
= 0;
11176 char *_kwnames
[] = { "self", NULL
};
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
11183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 _result
= new wxFont (wxMenuItem_GetFont(_arg0
));
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) return NULL
;
11195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11196 _resultobj
= Py_BuildValue("s",_ptemp
);
11200 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
11201 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
* _resultobj
;
11203 wxMenuItem
* _arg0
;
11205 PyObject
* _argo0
= 0;
11207 PyObject
* _obj1
= 0;
11208 char *_kwnames
[] = { "self","colText", NULL
};
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
11214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
11222 if (! wxColour_helper(_obj1
, &_arg1
))
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) return NULL
;
11231 } Py_INCREF(Py_None
);
11232 _resultobj
= Py_None
;
11236 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11237 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
* _resultobj
;
11239 wxColour
* _result
;
11240 wxMenuItem
* _arg0
;
11241 PyObject
* _argo0
= 0;
11242 char *_kwnames
[] = { "self", NULL
};
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
11249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) return NULL
;
11261 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11262 _resultobj
= Py_BuildValue("s",_ptemp
);
11266 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11267 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
* _resultobj
;
11269 wxMenuItem
* _arg0
;
11271 PyObject
* _argo0
= 0;
11273 PyObject
* _obj1
= 0;
11274 char *_kwnames
[] = { "self","colBack", NULL
};
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11288 if (! wxColour_helper(_obj1
, &_arg1
))
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) return NULL
;
11297 } Py_INCREF(Py_None
);
11298 _resultobj
= Py_None
;
11302 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11303 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
* _resultobj
;
11305 wxColour
* _result
;
11306 wxMenuItem
* _arg0
;
11307 PyObject
* _argo0
= 0;
11308 char *_kwnames
[] = { "self", NULL
};
11312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
11315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) return NULL
;
11327 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11328 _resultobj
= Py_BuildValue("s",_ptemp
);
11332 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11333 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
* _resultobj
;
11335 wxMenuItem
* _arg0
;
11337 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11338 PyObject
* _argo0
= 0;
11339 PyObject
* _argo1
= 0;
11340 PyObject
* _argo2
= 0;
11341 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11361 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11362 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) return NULL
;
11373 } Py_INCREF(Py_None
);
11374 _resultobj
= Py_None
;
11378 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11379 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
* _resultobj
;
11381 wxMenuItem
* _arg0
;
11383 PyObject
* _argo0
= 0;
11384 PyObject
* _argo1
= 0;
11385 char *_kwnames
[] = { "self","bmpChecked", NULL
};
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
11391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) return NULL
;
11410 } Py_INCREF(Py_None
);
11411 _resultobj
= Py_None
;
11415 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
11416 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
* _resultobj
;
11418 wxBitmap
* _result
;
11419 wxMenuItem
* _arg0
;
11420 bool _arg1
= (bool ) TRUE
;
11421 PyObject
* _argo0
= 0;
11422 int tempbool1
= (int) TRUE
;
11423 char *_kwnames
[] = { "self","bChecked", NULL
};
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
11430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11436 _arg1
= (bool ) tempbool1
;
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) return NULL
;
11443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
11444 _resultobj
= Py_BuildValue("s",_ptemp
);
11448 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11449 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
* _resultobj
;
11451 wxMenuItem
* _arg0
;
11453 PyObject
* _argo0
= 0;
11454 char *_kwnames
[] = { "self","nWidth", NULL
};
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
11460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) return NULL
;
11472 } Py_INCREF(Py_None
);
11473 _resultobj
= Py_None
;
11477 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11478 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
* _resultobj
;
11481 wxMenuItem
* _arg0
;
11482 PyObject
* _argo0
= 0;
11483 char *_kwnames
[] = { "self", NULL
};
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
11489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) return NULL
;
11501 } _resultobj
= Py_BuildValue("i",_result
);
11505 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
* _resultobj
;
11508 char *_kwnames
[] = { NULL
};
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) return NULL
;
11519 } _resultobj
= Py_BuildValue("i",_result
);
11523 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11524 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
* _resultobj
;
11527 wxMenuItem
* _arg0
;
11528 PyObject
* _argo0
= 0;
11529 char *_kwnames
[] = { "self", NULL
};
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
11535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) return NULL
;
11547 } _resultobj
= Py_BuildValue("i",_result
);
11551 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11552 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
* _resultobj
;
11554 wxMenuItem
* _arg0
;
11555 PyObject
* _argo0
= 0;
11556 char *_kwnames
[] = { "self", NULL
};
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
11562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 wxMenuItem_ResetOwnerDrawn(_arg0
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) return NULL
;
11574 } Py_INCREF(Py_None
);
11575 _resultobj
= Py_None
;
11579 static PyMethodDef windowscMethods
[] = {
11580 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxWindow_OnPaint", (PyCFunction
) _wrap_wxWindow_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11785 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11786 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11787 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11788 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11789 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11790 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11791 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11792 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11793 { "wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
11794 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11795 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11796 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11797 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11798 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11799 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11800 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11801 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11802 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11803 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11804 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11805 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11806 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11807 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11808 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11809 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11810 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11811 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
11913 * This table is used by the pointer type-checker
11915 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11916 { "_signed_long","_long",0},
11917 { "_wxPrintQuality","_wxCoord",0},
11918 { "_wxPrintQuality","_int",0},
11919 { "_wxPrintQuality","_signed_int",0},
11920 { "_wxPrintQuality","_unsigned_int",0},
11921 { "_wxPrintQuality","_wxWindowID",0},
11922 { "_wxPrintQuality","_uint",0},
11923 { "_wxPrintQuality","_EBool",0},
11924 { "_wxPrintQuality","_size_t",0},
11925 { "_wxPrintQuality","_time_t",0},
11926 { "_byte","_unsigned_char",0},
11927 { "_long","_unsigned_long",0},
11928 { "_long","_signed_long",0},
11929 { "_size_t","_wxCoord",0},
11930 { "_size_t","_wxPrintQuality",0},
11931 { "_size_t","_time_t",0},
11932 { "_size_t","_unsigned_int",0},
11933 { "_size_t","_int",0},
11934 { "_size_t","_wxWindowID",0},
11935 { "_size_t","_uint",0},
11936 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11937 { "_uint","_wxCoord",0},
11938 { "_uint","_wxPrintQuality",0},
11939 { "_uint","_time_t",0},
11940 { "_uint","_size_t",0},
11941 { "_uint","_unsigned_int",0},
11942 { "_uint","_int",0},
11943 { "_uint","_wxWindowID",0},
11944 { "_wxChar","_char",0},
11945 { "_char","_wxChar",0},
11946 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11947 { "_EBool","_wxCoord",0},
11948 { "_EBool","_wxPrintQuality",0},
11949 { "_EBool","_signed_int",0},
11950 { "_EBool","_int",0},
11951 { "_EBool","_wxWindowID",0},
11952 { "_unsigned_long","_long",0},
11953 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11954 { "_signed_int","_wxCoord",0},
11955 { "_signed_int","_wxPrintQuality",0},
11956 { "_signed_int","_EBool",0},
11957 { "_signed_int","_wxWindowID",0},
11958 { "_signed_int","_int",0},
11959 { "_WXTYPE","_short",0},
11960 { "_WXTYPE","_signed_short",0},
11961 { "_WXTYPE","_unsigned_short",0},
11962 { "_unsigned_short","_WXTYPE",0},
11963 { "_unsigned_short","_short",0},
11964 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11965 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11966 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11967 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11968 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11969 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11970 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11971 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11972 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11973 { "_signed_short","_WXTYPE",0},
11974 { "_signed_short","_short",0},
11975 { "_unsigned_char","_byte",0},
11976 { "_unsigned_int","_wxCoord",0},
11977 { "_unsigned_int","_wxPrintQuality",0},
11978 { "_unsigned_int","_time_t",0},
11979 { "_unsigned_int","_size_t",0},
11980 { "_unsigned_int","_uint",0},
11981 { "_unsigned_int","_wxWindowID",0},
11982 { "_unsigned_int","_int",0},
11983 { "_short","_WXTYPE",0},
11984 { "_short","_unsigned_short",0},
11985 { "_short","_signed_short",0},
11986 { "_wxWindowID","_wxCoord",0},
11987 { "_wxWindowID","_wxPrintQuality",0},
11988 { "_wxWindowID","_time_t",0},
11989 { "_wxWindowID","_size_t",0},
11990 { "_wxWindowID","_EBool",0},
11991 { "_wxWindowID","_uint",0},
11992 { "_wxWindowID","_int",0},
11993 { "_wxWindowID","_signed_int",0},
11994 { "_wxWindowID","_unsigned_int",0},
11995 { "_int","_wxCoord",0},
11996 { "_int","_wxPrintQuality",0},
11997 { "_int","_time_t",0},
11998 { "_int","_size_t",0},
11999 { "_int","_EBool",0},
12000 { "_int","_uint",0},
12001 { "_int","_wxWindowID",0},
12002 { "_int","_unsigned_int",0},
12003 { "_int","_signed_int",0},
12004 { "_time_t","_wxCoord",0},
12005 { "_time_t","_wxPrintQuality",0},
12006 { "_time_t","_unsigned_int",0},
12007 { "_time_t","_int",0},
12008 { "_time_t","_wxWindowID",0},
12009 { "_time_t","_uint",0},
12010 { "_time_t","_size_t",0},
12011 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
12012 { "_wxCoord","_int",0},
12013 { "_wxCoord","_signed_int",0},
12014 { "_wxCoord","_unsigned_int",0},
12015 { "_wxCoord","_wxWindowID",0},
12016 { "_wxCoord","_uint",0},
12017 { "_wxCoord","_EBool",0},
12018 { "_wxCoord","_size_t",0},
12019 { "_wxCoord","_time_t",0},
12020 { "_wxCoord","_wxPrintQuality",0},
12021 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
12022 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
12023 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
12024 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
12025 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
12026 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
12027 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
12028 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
12029 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
12030 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
12033 static PyObject
*SWIG_globals
;
12037 SWIGEXPORT(void) initwindowsc() {
12039 SWIG_globals
= SWIG_newvarlink();
12040 m
= Py_InitModule("windowsc", windowscMethods
);
12041 d
= PyModule_GetDict(m
);
12044 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12045 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);