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 wxPyClientData(_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_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
1025 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1026 PyObject
* _resultobj
;
1028 PyObject
* _argo0
= 0;
1029 char *_kwnames
[] = { "self", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
1035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 wxWindow_CaptureMouse(_arg0
);
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) return NULL
;
1047 } Py_INCREF(Py_None
);
1048 _resultobj
= Py_None
;
1052 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1053 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1056 int _arg1
= (int ) wxBOTH
;
1057 PyObject
* _argo0
= 0;
1058 char *_kwnames
[] = { "self","direction", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 wxWindow_Center(_arg0
,_arg1
);
1074 wxPyEndAllowThreads(__tstate
);
1075 if (PyErr_Occurred()) return NULL
;
1076 } Py_INCREF(Py_None
);
1077 _resultobj
= Py_None
;
1081 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1082 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1085 int _arg1
= (int ) wxBOTH
;
1086 PyObject
* _argo0
= 0;
1087 char *_kwnames
[] = { "self","direction", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 wxWindow_Centre(_arg0
,_arg1
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1110 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1111 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1114 int _arg1
= (int ) wxBOTH
;
1115 PyObject
* _argo0
= 0;
1116 char *_kwnames
[] = { "self","direction", NULL
};
1119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1130 wxWindow_CentreOnParent(_arg0
,_arg1
);
1132 wxPyEndAllowThreads(__tstate
);
1133 if (PyErr_Occurred()) return NULL
;
1134 } Py_INCREF(Py_None
);
1135 _resultobj
= Py_None
;
1139 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1140 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 int _arg1
= (int ) wxBOTH
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self","direction", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 wxWindow_CenterOnParent(_arg0
,_arg1
);
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) return NULL
;
1163 } Py_INCREF(Py_None
);
1164 _resultobj
= Py_None
;
1168 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1169 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
* _resultobj
;
1172 int _arg1
= (int ) wxBOTH
;
1173 PyObject
* _argo0
= 0;
1174 char *_kwnames
[] = { "self","direction", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1188 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1190 wxPyEndAllowThreads(__tstate
);
1191 if (PyErr_Occurred()) return NULL
;
1192 } Py_INCREF(Py_None
);
1193 _resultobj
= Py_None
;
1197 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1198 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1201 int _arg1
= (int ) wxBOTH
;
1202 PyObject
* _argo0
= 0;
1203 char *_kwnames
[] = { "self","direction", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) return NULL
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1226 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1227 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1230 PyObject
* _argo0
= 0;
1231 char *_kwnames
[] = { "self", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 wxWindow_Clear(_arg0
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) return NULL
;
1249 } Py_INCREF(Py_None
);
1250 _resultobj
= Py_None
;
1254 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1255 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
* _resultobj
;
1260 PyObject
* _argo0
= 0;
1262 PyObject
* _obj1
= 0;
1264 PyObject
* _obj2
= 0;
1265 char *_kwnames
[] = { "self","x","y", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1278 temp
= (int) PyInt_AsLong(_obj1
);
1282 temp0
= (int) PyInt_AsLong(_obj2
);
1286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1287 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1289 wxPyEndAllowThreads(__tstate
);
1290 if (PyErr_Occurred()) return NULL
;
1291 } Py_INCREF(Py_None
);
1292 _resultobj
= Py_None
;
1295 o
= PyInt_FromLong((long) (*_arg1
));
1296 _resultobj
= t_output_helper(_resultobj
, o
);
1300 o
= PyInt_FromLong((long) (*_arg2
));
1301 _resultobj
= t_output_helper(_resultobj
, o
);
1306 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1307 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1312 PyObject
* _argo0
= 0;
1314 PyObject
* _obj1
= 0;
1315 char *_kwnames
[] = { "self","pt", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1330 if (! wxPoint_helper(_obj1
, &_arg1
))
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1344 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1345 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1349 int _arg1
= (int ) FALSE
;
1350 PyObject
* _argo0
= 0;
1351 char *_kwnames
[] = { "self","force", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
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_Close. Expected _wxWindow_p.");
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) return NULL
;
1369 } _resultobj
= Py_BuildValue("i",_result
);
1373 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1374 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 _result
= (bool )wxWindow_Destroy(_arg0
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) return NULL
;
1397 } _resultobj
= Py_BuildValue("i",_result
);
1401 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1402 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 wxWindow_DestroyChildren(_arg0
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) return NULL
;
1424 } Py_INCREF(Py_None
);
1425 _resultobj
= Py_None
;
1429 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1430 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1434 PyObject
* _argo0
= 0;
1435 char *_kwnames
[] = { "self", NULL
};
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1449 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1451 wxPyEndAllowThreads(__tstate
);
1452 if (PyErr_Occurred()) return NULL
;
1453 } _resultobj
= Py_BuildValue("i",_result
);
1457 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1458 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1462 PyObject
* _argo0
= 0;
1464 char *_kwnames
[] = { "self","accept", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1476 _arg1
= (bool ) tempbool1
;
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) return NULL
;
1483 } Py_INCREF(Py_None
);
1484 _resultobj
= Py_None
;
1488 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1489 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1493 PyObject
* _argo0
= 0;
1495 char *_kwnames
[] = { "self","enable", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1507 _arg1
= (bool ) tempbool1
;
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 wxWindow_Enable(_arg0
,_arg1
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) return NULL
;
1514 } Py_INCREF(Py_None
);
1515 _resultobj
= Py_None
;
1519 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1520 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1525 PyObject
* _argo0
= 0;
1526 char *_kwnames
[] = { "self","id", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) return NULL
;
1544 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1548 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1549 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1554 PyObject
* _argo0
= 0;
1555 PyObject
* _obj1
= 0;
1556 char *_kwnames
[] = { "self","name", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1569 _arg1
= wxString_in_helper(_obj1
);
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1587 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1588 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1591 PyObject
* _argo0
= 0;
1592 char *_kwnames
[] = { "self", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 wxWindow_Fit(_arg0
);
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) return NULL
;
1610 } Py_INCREF(Py_None
);
1611 _resultobj
= Py_None
;
1615 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1616 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1620 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) return NULL
;
1640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1641 _resultobj
= Py_BuildValue("s",_ptemp
);
1645 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1646 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1650 PyObject
* _argo0
= 0;
1651 char *_kwnames
[] = { "self", NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) return NULL
;
1669 } _resultobj
= Py_BuildValue("i",_result
);
1673 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1674 wxWindowList
& list
= self
->GetChildren();
1675 return wxPy_ConvertList(&list
, "wxWindow");
1677 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1681 PyObject
* _argo0
= 0;
1682 char *_kwnames
[] = { "self", NULL
};
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) return NULL
;
1701 _resultobj
= _result
;
1706 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1707 static PyObject
*_wrap_wxWindow_GetCharHeight(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_GetCharHeight",_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_GetCharHeight. Expected _wxWindow_p.");
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1730 } _resultobj
= Py_BuildValue("i",_result
);
1734 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1735 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1739 PyObject
* _argo0
= 0;
1740 char *_kwnames
[] = { "self", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) return NULL
;
1758 } _resultobj
= Py_BuildValue("i",_result
);
1762 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1763 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1770 PyObject
* _argo0
= 0;
1771 char *_kwnames
[] = { "self", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) return NULL
;
1795 } Py_INCREF(Py_None
);
1796 _resultobj
= Py_None
;
1799 o
= PyInt_FromLong((long) (*_arg1
));
1800 _resultobj
= t_output_helper(_resultobj
, o
);
1804 o
= PyInt_FromLong((long) (*_arg2
));
1805 _resultobj
= t_output_helper(_resultobj
, o
);
1810 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1811 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) return NULL
;
1835 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1836 _resultobj
= Py_BuildValue("s",_ptemp
);
1840 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1841 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1845 PyObject
* _argo0
= 0;
1846 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) return NULL
;
1865 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1866 _resultobj
= Py_BuildValue("s",_ptemp
);
1870 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1871 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1875 PyObject
* _argo0
= 0;
1876 char *_kwnames
[] = { "self", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) return NULL
;
1895 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1896 _resultobj
= Py_BuildValue("s",_ptemp
);
1900 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1901 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1903 wxLayoutConstraints
* _result
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) return NULL
;
1926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1927 _resultobj
= Py_BuildValue("s",_ptemp
);
1930 _resultobj
= Py_None
;
1935 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1936 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1938 wxEvtHandler
* _result
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1959 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1963 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1964 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1968 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "self", NULL
};
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) return NULL
;
1988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1989 _resultobj
= Py_BuildValue("s",_ptemp
);
1993 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1994 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1998 PyObject
* _argo0
= 0;
1999 char *_kwnames
[] = { "self", NULL
};
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
2006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) return NULL
;
2018 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2019 _resultobj
= Py_BuildValue("s",_ptemp
);
2023 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
2024 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "self", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) return NULL
;
2047 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2051 static long wxWindow_GetHandle(wxWindow
*self
) {
2052 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2054 static PyObject
*_wrap_wxWindow_GetHandle(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_GetHandle",_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_GetHandle. Expected _wxWindow_p.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 _result
= (long )wxWindow_GetHandle(_arg0
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } _resultobj
= Py_BuildValue("l",_result
);
2081 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2082 static PyObject
*_wrap_wxWindow_GetId(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_GetId",_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_GetId. Expected _wxWindow_p.");
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= (int )wxWindow_GetId(_arg0
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 } _resultobj
= Py_BuildValue("i",_result
);
2109 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2110 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2114 PyObject
* _argo0
= 0;
2115 char *_kwnames
[] = { "self", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) return NULL
;
2135 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2137 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2146 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2147 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2151 PyObject
* _argo0
= 0;
2152 PyObject
* _obj1
= 0;
2153 char *_kwnames
[] = { "self","label", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2166 _arg1
= wxString_in_helper(_obj1
);
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 wxWindow_SetLabel(_arg0
,*_arg1
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) return NULL
;
2176 } Py_INCREF(Py_None
);
2177 _resultobj
= Py_None
;
2185 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2186 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2190 PyObject
* _argo0
= 0;
2191 char *_kwnames
[] = { "self", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 _result
= new wxString (wxWindow_GetName(_arg0
));
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) return NULL
;
2211 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2213 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2222 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2223 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) return NULL
;
2246 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2250 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2251 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2258 PyObject
* _argo0
= 0;
2259 char *_kwnames
[] = { "self", NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) return NULL
;
2283 } Py_INCREF(Py_None
);
2284 _resultobj
= Py_None
;
2287 o
= PyInt_FromLong((long) (*_arg1
));
2288 _resultobj
= t_output_helper(_resultobj
, o
);
2292 o
= PyInt_FromLong((long) (*_arg2
));
2293 _resultobj
= t_output_helper(_resultobj
, o
);
2298 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2299 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
* _resultobj
;
2303 PyObject
* _argo0
= 0;
2304 char *_kwnames
[] = { "self", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) return NULL
;
2323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2324 _resultobj
= Py_BuildValue("s",_ptemp
);
2328 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2329 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2333 PyObject
* _argo0
= 0;
2334 char *_kwnames
[] = { "self", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) return NULL
;
2353 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2354 _resultobj
= Py_BuildValue("s",_ptemp
);
2358 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2359 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2364 PyObject
* _argo0
= 0;
2365 char *_kwnames
[] = { "self","orientation", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) return NULL
;
2383 } _resultobj
= Py_BuildValue("i",_result
);
2387 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2388 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2393 PyObject
* _argo0
= 0;
2394 char *_kwnames
[] = { "self","orientation", NULL
};
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) return NULL
;
2412 } _resultobj
= Py_BuildValue("i",_result
);
2416 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2417 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2422 PyObject
* _argo0
= 0;
2423 char *_kwnames
[] = { "self","orientation", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) return NULL
;
2441 } _resultobj
= Py_BuildValue("i",_result
);
2445 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2446 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2453 PyObject
* _argo0
= 0;
2454 char *_kwnames
[] = { "self", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) return NULL
;
2478 } Py_INCREF(Py_None
);
2479 _resultobj
= Py_None
;
2482 o
= PyInt_FromLong((long) (*_arg1
));
2483 _resultobj
= t_output_helper(_resultobj
, o
);
2487 o
= PyInt_FromLong((long) (*_arg2
));
2488 _resultobj
= t_output_helper(_resultobj
, o
);
2493 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2494 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2498 PyObject
* _argo0
= 0;
2499 char *_kwnames
[] = { "self", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) return NULL
;
2518 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2519 _resultobj
= Py_BuildValue("s",_ptemp
);
2523 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2524 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2532 PyObject
* _argo0
= 0;
2533 PyObject
* _obj1
= 0;
2534 char *_kwnames
[] = { "self","string", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2553 _arg1
= wxString_in_helper(_obj1
);
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) return NULL
;
2563 } Py_INCREF(Py_None
);
2564 _resultobj
= Py_None
;
2567 o
= PyInt_FromLong((long) (*_arg2
));
2568 _resultobj
= t_output_helper(_resultobj
, o
);
2572 o
= PyInt_FromLong((long) (*_arg3
));
2573 _resultobj
= t_output_helper(_resultobj
, o
);
2582 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2583 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
* _resultobj
;
2595 wxFont
* _arg6
= (wxFont
*) NULL
;
2596 PyObject
* _argo0
= 0;
2597 PyObject
* _obj1
= 0;
2598 PyObject
* _argo6
= 0;
2599 char *_kwnames
[] = { "self","string","font", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2624 _arg1
= wxString_in_helper(_obj1
);
2629 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2641 } Py_INCREF(Py_None
);
2642 _resultobj
= Py_None
;
2645 o
= PyInt_FromLong((long) (*_arg2
));
2646 _resultobj
= t_output_helper(_resultobj
, o
);
2650 o
= PyInt_FromLong((long) (*_arg3
));
2651 _resultobj
= t_output_helper(_resultobj
, o
);
2655 o
= PyInt_FromLong((long) (*_arg4
));
2656 _resultobj
= t_output_helper(_resultobj
, o
);
2660 o
= PyInt_FromLong((long) (*_arg5
));
2661 _resultobj
= t_output_helper(_resultobj
, o
);
2670 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2671 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) return NULL
;
2696 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2698 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2707 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2708 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2733 _resultobj
= Py_BuildValue("s",_ptemp
);
2737 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2738 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2742 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
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_GetWindowStyleFlag. Expected _wxWindow_p.");
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) return NULL
;
2761 } _resultobj
= Py_BuildValue("l",_result
);
2765 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2766 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2770 PyObject
* _argo0
= 0;
2771 char *_kwnames
[] = { "self","style", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) return NULL
;
2789 } Py_INCREF(Py_None
);
2790 _resultobj
= Py_None
;
2794 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2795 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2799 PyObject
* _argo0
= 0;
2800 char *_kwnames
[] = { "self","style", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) return NULL
;
2818 } Py_INCREF(Py_None
);
2819 _resultobj
= Py_None
;
2823 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2824 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2830 char *_kwnames
[] = { "self","orient", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
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_HasScrollbar. Expected _wxWindow_p.");
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) return NULL
;
2848 } _resultobj
= Py_BuildValue("i",_result
);
2852 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2853 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2857 PyObject
* _argo0
= 0;
2858 char *_kwnames
[] = { "self", NULL
};
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 _result
= (bool )wxWindow_Hide(_arg0
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) return NULL
;
2876 } _resultobj
= Py_BuildValue("i",_result
);
2880 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2881 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2886 PyObject
* _argo0
= 0;
2888 PyObject
* _obj1
= 0;
2889 char *_kwnames
[] = { "self","pt", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2903 if (! wxPoint_helper(_obj1
, &_arg1
))
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) return NULL
;
2912 } _resultobj
= Py_BuildValue("i",_result
);
2916 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2917 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2920 PyObject
* _argo0
= 0;
2921 char *_kwnames
[] = { "self", NULL
};
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 wxWindow_InitDialog(_arg0
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) return NULL
;
2939 } Py_INCREF(Py_None
);
2940 _resultobj
= Py_None
;
2944 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2945 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2949 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) return NULL
;
2968 } _resultobj
= Py_BuildValue("i",_result
);
2972 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2973 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
* _resultobj
;
2979 int _arg3
= (int ) 0;
2980 int _arg4
= (int ) 0;
2981 PyObject
* _argo0
= 0;
2982 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) return NULL
;
3000 } _resultobj
= Py_BuildValue("i",_result
);
3004 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3005 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
* _resultobj
;
3010 PyObject
* _argo0
= 0;
3012 PyObject
* _obj1
= 0;
3013 char *_kwnames
[] = { "self","pt", NULL
};
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
3019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3027 if (! wxPoint_helper(_obj1
, &_arg1
))
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) return NULL
;
3036 } _resultobj
= Py_BuildValue("i",_result
);
3040 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3041 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
* _resultobj
;
3046 PyObject
* _argo0
= 0;
3048 PyObject
* _obj1
= 0;
3049 char *_kwnames
[] = { "self","rect", NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3063 if (! wxRect_helper(_obj1
, &_arg1
))
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) return NULL
;
3072 } _resultobj
= Py_BuildValue("i",_result
);
3076 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3077 static PyObject
*_wrap_wxWindow_IsRetained(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_IsRetained",_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_IsRetained. Expected _wxWindow_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 _result
= (bool )wxWindow_IsRetained(_arg0
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3100 } _resultobj
= Py_BuildValue("i",_result
);
3104 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3105 static PyObject
*_wrap_wxWindow_IsShown(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_IsShown",_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_IsShown. Expected _wxWindow_p.");
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 _result
= (bool )wxWindow_IsShown(_arg0
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) return NULL
;
3128 } _resultobj
= Py_BuildValue("i",_result
);
3132 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3133 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3137 PyObject
* _argo0
= 0;
3138 char *_kwnames
[] = { "self", NULL
};
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) return NULL
;
3156 } _resultobj
= Py_BuildValue("i",_result
);
3160 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3161 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3164 PyObject
* _argo0
= 0;
3165 char *_kwnames
[] = { "self", NULL
};
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 wxWindow_Layout(_arg0
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) return NULL
;
3183 } Py_INCREF(Py_None
);
3184 _resultobj
= Py_None
;
3188 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3189 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3195 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3196 PyObject
* _argo0
= 0;
3197 PyObject
* _argo1
= 0;
3198 PyObject
* _obj2
= 0;
3199 PyObject
* _argo3
= 0;
3200 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3220 _arg2
= wxString_in_helper(_obj2
);
3225 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) return NULL
;
3237 } _resultobj
= Py_BuildValue("i",_result
);
3245 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3246 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3249 PyObject
* _argo0
= 0;
3250 char *_kwnames
[] = { "self", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 wxWindow_Lower(_arg0
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) return NULL
;
3268 } Py_INCREF(Py_None
);
3269 _resultobj
= Py_None
;
3273 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3274 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3277 bool _arg1
= (bool ) TRUE
;
3278 PyObject
* _argo0
= 0;
3279 int tempbool1
= (int) TRUE
;
3280 char *_kwnames
[] = { "self","flag", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3292 _arg1
= (bool ) tempbool1
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 wxWindow_MakeModal(_arg0
,_arg1
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) return NULL
;
3299 } Py_INCREF(Py_None
);
3300 _resultobj
= Py_None
;
3304 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3305 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
* _resultobj
;
3310 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3311 PyObject
* _argo0
= 0;
3312 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) return NULL
;
3330 } Py_INCREF(Py_None
);
3331 _resultobj
= Py_None
;
3335 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3336 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3340 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3341 PyObject
* _argo0
= 0;
3343 PyObject
* _obj1
= 0;
3344 char *_kwnames
[] = { "self","point","flags", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3358 if (! wxPoint_helper(_obj1
, &_arg1
))
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) return NULL
;
3367 } Py_INCREF(Py_None
);
3368 _resultobj
= Py_None
;
3372 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3373 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
* _resultobj
;
3375 wxEvtHandler
* _result
;
3377 bool _arg1
= (bool ) FALSE
;
3378 PyObject
* _argo0
= 0;
3379 int tempbool1
= (int) FALSE
;
3380 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3392 _arg1
= (bool ) tempbool1
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) return NULL
;
3399 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3403 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3404 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
* _resultobj
;
3407 wxEvtHandler
* _arg1
;
3408 PyObject
* _argo0
= 0;
3409 PyObject
* _argo1
= 0;
3410 char *_kwnames
[] = { "self","handler", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 wxWindow_PushEventHandler(_arg0
,_arg1
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) return NULL
;
3435 } Py_INCREF(Py_None
);
3436 _resultobj
= Py_None
;
3440 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3441 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3445 wxEvtHandler
* _arg1
;
3446 PyObject
* _argo0
= 0;
3447 PyObject
* _argo1
= 0;
3448 char *_kwnames
[] = { "self","handler", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) return NULL
;
3473 } _resultobj
= Py_BuildValue("i",_result
);
3477 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3478 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
* _resultobj
;
3485 PyObject
* _argo0
= 0;
3486 PyObject
* _argo1
= 0;
3487 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) return NULL
;
3512 } _resultobj
= Py_BuildValue("i",_result
);
3516 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3517 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3523 PyObject
* _argo0
= 0;
3524 PyObject
* _argo1
= 0;
3526 PyObject
* _obj2
= 0;
3527 char *_kwnames
[] = { "self","menu","pos", NULL
};
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3548 if (! wxPoint_helper(_obj2
, &_arg2
))
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) return NULL
;
3557 } _resultobj
= Py_BuildValue("i",_result
);
3561 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3562 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3565 PyObject
* _argo0
= 0;
3566 char *_kwnames
[] = { "self", NULL
};
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 wxWindow_Raise(_arg0
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) return NULL
;
3584 } Py_INCREF(Py_None
);
3585 _resultobj
= Py_None
;
3589 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3590 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3593 bool _arg1
= (bool ) TRUE
;
3594 wxRect
* _arg2
= (wxRect
*) NULL
;
3595 PyObject
* _argo0
= 0;
3596 int tempbool1
= (int) TRUE
;
3598 PyObject
* _obj2
= 0;
3599 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3611 _arg1
= (bool ) tempbool1
;
3615 if (! wxRect_helper(_obj2
, &_arg2
))
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) return NULL
;
3624 } Py_INCREF(Py_None
);
3625 _resultobj
= Py_None
;
3629 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3630 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3634 PyObject
* _argo0
= 0;
3636 PyObject
* _obj1
= 0;
3637 char *_kwnames
[] = { "self","rect", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3651 if (! wxRect_helper(_obj1
, &_arg1
))
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 wxWindow_RefreshRect(_arg0
,*_arg1
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) return NULL
;
3660 } Py_INCREF(Py_None
);
3661 _resultobj
= Py_None
;
3665 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3666 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3669 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 wxWindow_ReleaseMouse(_arg0
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) return NULL
;
3688 } Py_INCREF(Py_None
);
3689 _resultobj
= Py_None
;
3693 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3694 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3698 PyObject
* _argo0
= 0;
3699 PyObject
* _argo1
= 0;
3700 char *_kwnames
[] = { "self","child", NULL
};
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 wxWindow_RemoveChild(_arg0
,_arg1
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3725 } Py_INCREF(Py_None
);
3726 _resultobj
= Py_None
;
3730 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3731 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
* _resultobj
;
3736 PyObject
* _argo0
= 0;
3737 PyObject
* _argo1
= 0;
3738 char *_kwnames
[] = { "self","newParent", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) return NULL
;
3763 } _resultobj
= Py_BuildValue("i",_result
);
3767 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3768 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3773 PyObject
* _argo0
= 0;
3775 PyObject
* _obj1
= 0;
3777 PyObject
* _obj2
= 0;
3778 char *_kwnames
[] = { "self","x","y", NULL
};
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3791 temp
= (int) PyInt_AsLong(_obj1
);
3795 temp0
= (int) PyInt_AsLong(_obj2
);
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) return NULL
;
3804 } Py_INCREF(Py_None
);
3805 _resultobj
= Py_None
;
3808 o
= PyInt_FromLong((long) (*_arg1
));
3809 _resultobj
= t_output_helper(_resultobj
, o
);
3813 o
= PyInt_FromLong((long) (*_arg2
));
3814 _resultobj
= t_output_helper(_resultobj
, o
);
3819 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3820 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
* _resultobj
;
3825 PyObject
* _argo0
= 0;
3827 PyObject
* _obj1
= 0;
3828 char *_kwnames
[] = { "self","pt", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3843 if (! wxPoint_helper(_obj1
, &_arg1
))
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) return NULL
;
3852 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3853 _resultobj
= Py_BuildValue("s",_ptemp
);
3857 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3858 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3863 wxRect
* _arg3
= (wxRect
*) NULL
;
3864 PyObject
* _argo0
= 0;
3866 PyObject
* _obj3
= 0;
3867 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3882 if (! wxRect_helper(_obj3
, &_arg3
))
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) return NULL
;
3891 } Py_INCREF(Py_None
);
3892 _resultobj
= Py_None
;
3896 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3897 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
* _resultobj
;
3901 PyObject
* _argo0
= 0;
3903 char *_kwnames
[] = { "self","autoLayout", NULL
};
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3915 _arg1
= (bool ) tempbool1
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) return NULL
;
3922 } Py_INCREF(Py_None
);
3923 _resultobj
= Py_None
;
3927 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3928 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
* _resultobj
;
3932 PyObject
* _argo0
= 0;
3933 char *_kwnames
[] = { "self", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) return NULL
;
3951 } _resultobj
= Py_BuildValue("i",_result
);
3955 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3956 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3960 PyObject
* _argo0
= 0;
3962 PyObject
* _obj1
= 0;
3963 char *_kwnames
[] = { "self","colour", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3977 if (! wxColour_helper(_obj1
, &_arg1
))
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) return NULL
;
3986 } Py_INCREF(Py_None
);
3987 _resultobj
= Py_None
;
3991 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3992 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3995 wxLayoutConstraints
* _arg1
;
3996 PyObject
* _argo0
= 0;
3997 PyObject
* _argo1
= 0;
3998 char *_kwnames
[] = { "self","constraints", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4011 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 wxWindow_SetConstraints(_arg0
,_arg1
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) return NULL
;
4023 } Py_INCREF(Py_None
);
4024 _resultobj
= Py_None
;
4028 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4029 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
* _resultobj
;
4032 wxLayoutConstraints
* _arg1
;
4033 PyObject
* _argo0
= 0;
4034 PyObject
* _argo1
= 0;
4035 char *_kwnames
[] = { "self","constraints", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } Py_INCREF(Py_None
);
4061 _resultobj
= Py_None
;
4065 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4066 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4070 char *_kwnames
[] = { "self", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 wxWindow_SetFocus(_arg0
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) return NULL
;
4088 } Py_INCREF(Py_None
);
4089 _resultobj
= Py_None
;
4093 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4094 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4098 PyObject
* _argo0
= 0;
4099 char *_kwnames
[] = { "self", NULL
};
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) return NULL
;
4117 } _resultobj
= Py_BuildValue("i",_result
);
4121 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4122 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4126 PyObject
* _argo0
= 0;
4127 PyObject
* _argo1
= 0;
4128 char *_kwnames
[] = { "self","font", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxWindow_SetFont(_arg0
,*_arg1
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4153 } Py_INCREF(Py_None
);
4154 _resultobj
= Py_None
;
4158 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4159 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4163 PyObject
* _argo0
= 0;
4165 PyObject
* _obj1
= 0;
4166 char *_kwnames
[] = { "self","colour", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4180 if (! wxColour_helper(_obj1
, &_arg1
))
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) return NULL
;
4189 } Py_INCREF(Py_None
);
4190 _resultobj
= Py_None
;
4194 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4195 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
* _resultobj
;
4199 PyObject
* _argo0
= 0;
4200 char *_kwnames
[] = { "self","id", NULL
};
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 wxWindow_SetId(_arg0
,_arg1
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) return NULL
;
4218 } Py_INCREF(Py_None
);
4219 _resultobj
= Py_None
;
4223 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4224 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4228 PyObject
* _argo0
= 0;
4229 PyObject
* _obj1
= 0;
4230 char *_kwnames
[] = { "self","name", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4243 _arg1
= wxString_in_helper(_obj1
);
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 wxWindow_SetName(_arg0
,*_arg1
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) return NULL
;
4253 } Py_INCREF(Py_None
);
4254 _resultobj
= Py_None
;
4262 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4263 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4270 int _arg5
= (int ) TRUE
;
4271 PyObject
* _argo0
= 0;
4272 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) return NULL
;
4290 } Py_INCREF(Py_None
);
4291 _resultobj
= Py_None
;
4295 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4296 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4301 bool _arg3
= (bool ) TRUE
;
4302 PyObject
* _argo0
= 0;
4303 int tempbool3
= (int) TRUE
;
4304 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4316 _arg3
= (bool ) tempbool3
;
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) return NULL
;
4323 } Py_INCREF(Py_None
);
4324 _resultobj
= Py_None
;
4328 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4329 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4336 int _arg5
= (int ) wxSIZE_AUTO
;
4337 PyObject
* _argo0
= 0;
4338 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) return NULL
;
4356 } Py_INCREF(Py_None
);
4357 _resultobj
= Py_None
;
4361 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4362 self
->SetSize(size
);
4364 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4368 PyObject
* _argo0
= 0;
4370 PyObject
* _obj1
= 0;
4371 char *_kwnames
[] = { "self","size", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4385 if (! wxSize_helper(_obj1
, &_arg1
))
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 wxWindow_SetSize(_arg0
,*_arg1
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4400 self
->Move(pos
, flags
);
4402 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4406 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4407 PyObject
* _argo0
= 0;
4409 PyObject
* _obj1
= 0;
4410 char *_kwnames
[] = { "self","pos","flags", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4424 if (! wxPoint_helper(_obj1
, &_arg1
))
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4433 } Py_INCREF(Py_None
);
4434 _resultobj
= Py_None
;
4438 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4439 self
->SetSize(rect
, sizeFlags
);
4441 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4445 int _arg2
= (int ) wxSIZE_AUTO
;
4446 PyObject
* _argo0
= 0;
4448 PyObject
* _obj1
= 0;
4449 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4463 if (! wxRect_helper(_obj1
, &_arg1
))
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) return NULL
;
4472 } Py_INCREF(Py_None
);
4473 _resultobj
= Py_None
;
4477 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4478 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4481 int _arg1
= (int ) -1;
4482 int _arg2
= (int ) -1;
4483 int _arg3
= (int ) -1;
4484 int _arg4
= (int ) -1;
4485 int _arg5
= (int ) -1;
4486 int _arg6
= (int ) -1;
4487 PyObject
* _argo0
= 0;
4488 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) return NULL
;
4506 } Py_INCREF(Py_None
);
4507 _resultobj
= Py_None
;
4511 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4512 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
* _resultobj
;
4517 PyObject
* _argo0
= 0;
4518 char *_kwnames
[] = { "self","width","height", NULL
};
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) return NULL
;
4536 } Py_INCREF(Py_None
);
4537 _resultobj
= Py_None
;
4541 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4542 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
* _resultobj
;
4546 PyObject
* _argo0
= 0;
4548 PyObject
* _obj1
= 0;
4549 char *_kwnames
[] = { "self","size", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4563 if (! wxSize_helper(_obj1
, &_arg1
))
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 wxWindow_SetClientSize(_arg0
,*_arg1
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) return NULL
;
4572 } Py_INCREF(Py_None
);
4573 _resultobj
= Py_None
;
4577 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4578 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4582 PyObject
* _argo0
= 0;
4583 PyObject
* _argo1
= 0;
4584 char *_kwnames
[] = { "self","cursor", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 wxWindow_SetCursor(_arg0
,*_arg1
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) return NULL
;
4609 } Py_INCREF(Py_None
);
4610 _resultobj
= Py_None
;
4614 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4615 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4618 wxEvtHandler
* _arg1
;
4619 PyObject
* _argo0
= 0;
4620 PyObject
* _argo1
= 0;
4621 char *_kwnames
[] = { "self","handler", NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4634 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 wxWindow_SetEventHandler(_arg0
,_arg1
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) return NULL
;
4646 } Py_INCREF(Py_None
);
4647 _resultobj
= Py_None
;
4651 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4652 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
* _resultobj
;
4656 PyObject
* _argo0
= 0;
4657 char *_kwnames
[] = { "self","exStyle", NULL
};
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) return NULL
;
4675 } Py_INCREF(Py_None
);
4676 _resultobj
= Py_None
;
4680 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4681 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4685 PyObject
* _argo0
= 0;
4686 PyObject
* _obj1
= 0;
4687 char *_kwnames
[] = { "self","title", NULL
};
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4700 _arg1
= wxString_in_helper(_obj1
);
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 wxWindow_SetTitle(_arg0
,*_arg1
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) return NULL
;
4710 } Py_INCREF(Py_None
);
4711 _resultobj
= Py_None
;
4719 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4720 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4724 bool _arg1
= (bool ) TRUE
;
4725 PyObject
* _argo0
= 0;
4726 int tempbool1
= (int) TRUE
;
4727 char *_kwnames
[] = { "self","show", NULL
};
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4739 _arg1
= (bool ) tempbool1
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) return NULL
;
4746 } _resultobj
= Py_BuildValue("i",_result
);
4750 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4751 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4755 PyObject
* _argo0
= 0;
4756 char *_kwnames
[] = { "self", NULL
};
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) return NULL
;
4774 } _resultobj
= Py_BuildValue("i",_result
);
4778 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4779 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
* _resultobj
;
4783 PyObject
* _argo0
= 0;
4784 char *_kwnames
[] = { "self", NULL
};
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) return NULL
;
4802 } _resultobj
= Py_BuildValue("i",_result
);
4806 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4807 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
* _resultobj
;
4810 PyObject
* _argo0
= 0;
4811 char *_kwnames
[] = { "self", NULL
};
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 wxWindow_UpdateWindowUI(_arg0
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) return NULL
;
4829 } Py_INCREF(Py_None
);
4830 _resultobj
= Py_None
;
4834 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4835 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
* _resultobj
;
4839 PyObject
* _argo0
= 0;
4840 char *_kwnames
[] = { "self", NULL
};
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 _result
= (bool )wxWindow_Validate(_arg0
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) return NULL
;
4858 } _resultobj
= Py_BuildValue("i",_result
);
4862 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4863 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4868 PyObject
* _argo0
= 0;
4869 char *_kwnames
[] = { "self","x","y", NULL
};
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) return NULL
;
4887 } Py_INCREF(Py_None
);
4888 _resultobj
= Py_None
;
4892 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4893 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
* _resultobj
;
4898 PyObject
* _argo0
= 0;
4900 PyObject
* _obj1
= 0;
4901 char *_kwnames
[] = { "self","pt", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4916 if (! wxPoint_helper(_obj1
, &_arg1
))
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) return NULL
;
4925 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4926 _resultobj
= Py_BuildValue("s",_ptemp
);
4930 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4931 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
* _resultobj
;
4936 PyObject
* _argo0
= 0;
4938 PyObject
* _obj1
= 0;
4939 char *_kwnames
[] = { "self","sz", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4954 if (! wxSize_helper(_obj1
, &_arg1
))
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) return NULL
;
4963 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4964 _resultobj
= Py_BuildValue("s",_ptemp
);
4968 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4969 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
* _resultobj
;
4974 PyObject
* _argo0
= 0;
4976 PyObject
* _obj1
= 0;
4977 char *_kwnames
[] = { "self","pt", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4992 if (! wxPoint_helper(_obj1
, &_arg1
))
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) return NULL
;
5001 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5002 _resultobj
= Py_BuildValue("s",_ptemp
);
5006 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5007 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5012 PyObject
* _argo0
= 0;
5014 PyObject
* _obj1
= 0;
5015 char *_kwnames
[] = { "self","sz", NULL
};
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5030 if (! wxSize_helper(_obj1
, &_arg1
))
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) return NULL
;
5039 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5040 _resultobj
= Py_BuildValue("s",_ptemp
);
5044 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5045 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
* _resultobj
;
5049 PyObject
* _argo0
= 0;
5050 PyObject
* _obj1
= 0;
5051 char *_kwnames
[] = { "self","tip", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5064 _arg1
= wxString_in_helper(_obj1
);
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) return NULL
;
5074 } Py_INCREF(Py_None
);
5075 _resultobj
= Py_None
;
5083 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5084 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
* _resultobj
;
5088 PyObject
* _argo0
= 0;
5089 PyObject
* _argo1
= 0;
5090 char *_kwnames
[] = { "self","tooltip", NULL
};
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 wxWindow_SetToolTip(_arg0
,_arg1
);
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) return NULL
;
5115 } Py_INCREF(Py_None
);
5116 _resultobj
= Py_None
;
5120 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5121 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
* _resultobj
;
5123 wxToolTip
* _result
;
5125 PyObject
* _argo0
= 0;
5126 char *_kwnames
[] = { "self", NULL
};
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) return NULL
;
5144 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5148 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5149 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
* _resultobj
;
5153 bool _arg2
= (bool ) TRUE
;
5154 PyObject
* _argo0
= 0;
5155 PyObject
* _argo1
= 0;
5156 int tempbool2
= (int) TRUE
;
5157 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5176 _arg2
= (bool ) tempbool2
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) return NULL
;
5183 } Py_INCREF(Py_None
);
5184 _resultobj
= Py_None
;
5188 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5189 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5193 PyObject
* _argo0
= 0;
5194 char *_kwnames
[] = { "self", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) return NULL
;
5212 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5216 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5217 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
* _resultobj
;
5221 PyObject
* _argo0
= 0;
5222 PyObject
* _argo1
= 0;
5223 char *_kwnames
[] = { "self","sizer", NULL
};
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) return NULL
;
5248 } Py_INCREF(Py_None
);
5249 _resultobj
= Py_None
;
5253 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5254 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
* _resultobj
;
5258 PyObject
* _argo0
= 0;
5259 char *_kwnames
[] = { "self", NULL
};
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) return NULL
;
5277 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5281 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5282 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
* _resultobj
;
5284 wxValidator
* _result
;
5286 PyObject
* _argo0
= 0;
5287 char *_kwnames
[] = { "self", NULL
};
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) return NULL
;
5305 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5309 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5310 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5313 wxValidator
* _arg1
;
5314 PyObject
* _argo0
= 0;
5315 PyObject
* _argo1
= 0;
5316 char *_kwnames
[] = { "self","validator", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxWindow_SetValidator(_arg0
,*_arg1
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) return NULL
;
5341 } Py_INCREF(Py_None
);
5342 _resultobj
= Py_None
;
5346 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5347 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
* _resultobj
;
5350 wxDropTarget
* _arg1
;
5351 PyObject
* _argo0
= 0;
5352 PyObject
* _argo1
= 0;
5353 char *_kwnames
[] = { "self","target", NULL
};
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 wxWindow_SetDropTarget(_arg0
,_arg1
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) return NULL
;
5378 } Py_INCREF(Py_None
);
5379 _resultobj
= Py_None
;
5383 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5384 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
* _resultobj
;
5386 wxDropTarget
* _result
;
5388 PyObject
* _argo0
= 0;
5389 char *_kwnames
[] = { "self", NULL
};
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) return NULL
;
5409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5410 _resultobj
= Py_BuildValue("s",_ptemp
);
5413 _resultobj
= Py_None
;
5418 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5419 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
* _resultobj
;
5423 PyObject
* _argo0
= 0;
5424 char *_kwnames
[] = { "self", NULL
};
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) return NULL
;
5443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5444 _resultobj
= Py_BuildValue("s",_ptemp
);
5448 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5449 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
* _resultobj
;
5453 PyObject
* _argo0
= 0;
5454 char *_kwnames
[] = { "self", NULL
};
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) return NULL
;
5473 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5474 _resultobj
= Py_BuildValue("s",_ptemp
);
5478 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5479 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
* _resultobj
;
5483 PyObject
* _argo0
= 0;
5484 PyObject
* _argo1
= 0;
5485 char *_kwnames
[] = { "self","caret", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 wxWindow_SetCaret(_arg0
,_arg1
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) return NULL
;
5510 } Py_INCREF(Py_None
);
5511 _resultobj
= Py_None
;
5515 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5516 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
* _resultobj
;
5520 PyObject
* _argo0
= 0;
5521 char *_kwnames
[] = { "self", NULL
};
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) return NULL
;
5541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5542 _resultobj
= Py_BuildValue("s",_ptemp
);
5545 _resultobj
= Py_None
;
5550 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5551 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
* _resultobj
;
5554 PyObject
* _argo0
= 0;
5555 char *_kwnames
[] = { "self", NULL
};
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 wxWindow_Freeze(_arg0
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) return NULL
;
5573 } Py_INCREF(Py_None
);
5574 _resultobj
= Py_None
;
5578 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5579 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
* _resultobj
;
5582 PyObject
* _argo0
= 0;
5583 char *_kwnames
[] = { "self", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_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_Thaw. Expected _wxWindow_p.");
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 wxWindow_Thaw(_arg0
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) return NULL
;
5601 } Py_INCREF(Py_None
);
5602 _resultobj
= Py_None
;
5606 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5607 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5610 PyObject
* _argo0
= 0;
5611 char *_kwnames
[] = { "self", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 wxWindow_Update(_arg0
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) return NULL
;
5629 } Py_INCREF(Py_None
);
5630 _resultobj
= Py_None
;
5634 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5635 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
* _resultobj
;
5639 PyObject
* _argo0
= 0;
5640 char *_kwnames
[] = { "self", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) return NULL
;
5660 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5662 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5671 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5672 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5676 PyObject
* _argo0
= 0;
5677 PyObject
* _obj1
= 0;
5678 char *_kwnames
[] = { "self","helpText", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5691 _arg1
= wxString_in_helper(_obj1
);
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 wxWindow_SetHelpText(_arg0
,*_arg1
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) return NULL
;
5701 } Py_INCREF(Py_None
);
5702 _resultobj
= Py_None
;
5710 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5711 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
* _resultobj
;
5715 PyObject
* _argo0
= 0;
5716 PyObject
* _obj1
= 0;
5717 char *_kwnames
[] = { "self","text", NULL
};
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5730 _arg1
= wxString_in_helper(_obj1
);
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) return NULL
;
5740 } Py_INCREF(Py_None
);
5741 _resultobj
= Py_None
;
5749 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5750 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5755 PyObject
* _argo0
= 0;
5756 char *_kwnames
[] = { "self","lines", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) return NULL
;
5774 } _resultobj
= Py_BuildValue("i",_result
);
5778 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5779 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5784 PyObject
* _argo0
= 0;
5785 char *_kwnames
[] = { "self","pages", NULL
};
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) return NULL
;
5803 } _resultobj
= Py_BuildValue("i",_result
);
5807 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5808 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
* _resultobj
;
5812 PyObject
* _argo0
= 0;
5813 char *_kwnames
[] = { "self", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 _result
= (bool )wxWindow_LineUp(_arg0
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) return NULL
;
5831 } _resultobj
= Py_BuildValue("i",_result
);
5835 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5836 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5840 PyObject
* _argo0
= 0;
5841 char *_kwnames
[] = { "self", NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 _result
= (bool )wxWindow_LineDown(_arg0
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) return NULL
;
5859 } _resultobj
= Py_BuildValue("i",_result
);
5863 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5864 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5868 PyObject
* _argo0
= 0;
5869 char *_kwnames
[] = { "self", NULL
};
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 _result
= (bool )wxWindow_PageUp(_arg0
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) return NULL
;
5887 } _resultobj
= Py_BuildValue("i",_result
);
5891 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5892 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
* _resultobj
;
5896 PyObject
* _argo0
= 0;
5897 char *_kwnames
[] = { "self", NULL
};
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 _result
= (bool )wxWindow_PageDown(_arg0
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) return NULL
;
5915 } _resultobj
= Py_BuildValue("i",_result
);
5919 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
* _resultobj
;
5922 char *_kwnames
[] = { NULL
};
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 _result
= (wxWindow
*)wxWindow::FindFocus();
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) return NULL
;
5933 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5937 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5940 char *_kwnames
[] = { NULL
};
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 _result
= (int )wxWindow::NewControlId();
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) return NULL
;
5951 } _resultobj
= Py_BuildValue("i",_result
);
5955 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5959 char *_kwnames
[] = { "id", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 _result
= (int )wxWindow::NextControlId(_arg0
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) return NULL
;
5970 } _resultobj
= Py_BuildValue("i",_result
);
5974 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
* _resultobj
;
5978 char *_kwnames
[] = { "id", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 _result
= (int )wxWindow::PrevControlId(_arg0
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) return NULL
;
5989 } _resultobj
= Py_BuildValue("i",_result
);
5993 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5994 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
* _resultobj
;
5997 wxAcceleratorTable
* _arg1
;
5998 PyObject
* _argo0
= 0;
5999 PyObject
* _argo1
= 0;
6000 char *_kwnames
[] = { "self","accel", NULL
};
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6013 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6014 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) return NULL
;
6025 } Py_INCREF(Py_None
);
6026 _resultobj
= Py_None
;
6030 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6031 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
* _resultobj
;
6033 wxAcceleratorTable
* _result
;
6035 PyObject
* _argo0
= 0;
6036 char *_kwnames
[] = { "self", NULL
};
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) return NULL
;
6056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6057 _resultobj
= Py_BuildValue("s",_ptemp
);
6060 _resultobj
= Py_None
;
6065 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6066 static PyObject
*_wrap_wxWindow_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
* _resultobj
;
6069 wxPaintEvent
* _arg1
;
6070 PyObject
* _argo0
= 0;
6071 PyObject
* _argo1
= 0;
6072 char *_kwnames
[] = { "self","event", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_OnPaint",_kwnames
,&_argo0
,&_argo1
))
6078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaintEvent_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 wxWindow_OnPaint(_arg0
,*_arg1
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) return NULL
;
6097 } Py_INCREF(Py_None
);
6098 _resultobj
= Py_None
;
6102 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6103 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
* _resultobj
;
6107 PyObject
* _argo0
= 0;
6108 char *_kwnames
[] = { "self", NULL
};
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) return NULL
;
6126 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6130 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6131 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
* _resultobj
;
6136 PyObject
* _argo0
= 0;
6137 PyObject
* _argo1
= 0;
6138 char *_kwnames
[] = { "self","btn", NULL
};
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6151 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6152 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) return NULL
;
6163 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6167 static void *SwigwxPanelTowxWindow(void *ptr
) {
6170 src
= (wxPanel
*) ptr
;
6171 dest
= (wxWindow
*) src
;
6172 return (void *) dest
;
6175 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6178 src
= (wxPanel
*) ptr
;
6179 dest
= (wxEvtHandler
*) src
;
6180 return (void *) dest
;
6183 static void *SwigwxPanelTowxObject(void *ptr
) {
6186 src
= (wxPanel
*) ptr
;
6187 dest
= (wxObject
*) src
;
6188 return (void *) dest
;
6191 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6192 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
* _resultobj
;
6197 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6198 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6199 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6200 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6201 PyObject
* _argo0
= 0;
6203 PyObject
* _obj2
= 0;
6205 PyObject
* _obj3
= 0;
6206 PyObject
* _obj5
= 0;
6207 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6223 if (! wxPoint_helper(_obj2
, &_arg2
))
6229 if (! wxSize_helper(_obj3
, &_arg3
))
6234 _arg5
= wxString_in_helper(_obj5
);
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) return NULL
;
6245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6246 _resultobj
= Py_BuildValue("s",_ptemp
);
6249 _resultobj
= Py_None
;
6258 #define new_wxPrePanel() (new wxPanel())
6259 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
* _resultobj
;
6262 char *_kwnames
[] = { NULL
};
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 _result
= (wxPanel
*)new_wxPrePanel();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) return NULL
;
6275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6276 _resultobj
= Py_BuildValue("s",_ptemp
);
6279 _resultobj
= Py_None
;
6284 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6285 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6291 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6292 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6293 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6294 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6295 PyObject
* _argo0
= 0;
6296 PyObject
* _argo1
= 0;
6298 PyObject
* _obj3
= 0;
6300 PyObject
* _obj4
= 0;
6301 PyObject
* _obj6
= 0;
6302 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6324 if (! wxPoint_helper(_obj3
, &_arg3
))
6330 if (! wxSize_helper(_obj4
, &_arg4
))
6335 _arg6
= wxString_in_helper(_obj6
);
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) return NULL
;
6345 } _resultobj
= Py_BuildValue("i",_result
);
6353 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6354 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
* _resultobj
;
6357 PyObject
* _argo0
= 0;
6358 char *_kwnames
[] = { "self", NULL
};
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 wxPanel_InitDialog(_arg0
);
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) return NULL
;
6376 } Py_INCREF(Py_None
);
6377 _resultobj
= Py_None
;
6381 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6382 wxScrolledWindow
*src
;
6384 src
= (wxScrolledWindow
*) ptr
;
6385 dest
= (wxPanel
*) src
;
6386 return (void *) dest
;
6389 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6390 wxScrolledWindow
*src
;
6392 src
= (wxScrolledWindow
*) ptr
;
6393 dest
= (wxWindow
*) src
;
6394 return (void *) dest
;
6397 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6398 wxScrolledWindow
*src
;
6400 src
= (wxScrolledWindow
*) ptr
;
6401 dest
= (wxEvtHandler
*) src
;
6402 return (void *) dest
;
6405 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6406 wxScrolledWindow
*src
;
6408 src
= (wxScrolledWindow
*) ptr
;
6409 dest
= (wxObject
*) src
;
6410 return (void *) dest
;
6413 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6414 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
* _resultobj
;
6416 wxScrolledWindow
* _result
;
6418 wxWindowID _arg1
= (wxWindowID
) -1;
6419 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6420 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6421 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6422 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6423 PyObject
* _argo0
= 0;
6425 PyObject
* _obj2
= 0;
6427 PyObject
* _obj3
= 0;
6428 PyObject
* _obj5
= 0;
6429 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6445 if (! wxPoint_helper(_obj2
, &_arg2
))
6451 if (! wxSize_helper(_obj3
, &_arg3
))
6456 _arg5
= wxString_in_helper(_obj5
);
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) return NULL
;
6467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6468 _resultobj
= Py_BuildValue("s",_ptemp
);
6471 _resultobj
= Py_None
;
6480 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6481 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
* _resultobj
;
6483 wxScrolledWindow
* _result
;
6484 char *_kwnames
[] = { NULL
};
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) return NULL
;
6497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6498 _resultobj
= Py_BuildValue("s",_ptemp
);
6501 _resultobj
= Py_None
;
6506 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6507 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
* _resultobj
;
6510 wxScrolledWindow
* _arg0
;
6512 wxWindowID _arg2
= (wxWindowID
) -1;
6513 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6514 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6515 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6516 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6517 PyObject
* _argo0
= 0;
6518 PyObject
* _argo1
= 0;
6520 PyObject
* _obj3
= 0;
6522 PyObject
* _obj4
= 0;
6523 PyObject
* _obj6
= 0;
6524 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6546 if (! wxPoint_helper(_obj3
, &_arg3
))
6552 if (! wxSize_helper(_obj4
, &_arg4
))
6557 _arg6
= wxString_in_helper(_obj6
);
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) return NULL
;
6567 } _resultobj
= Py_BuildValue("i",_result
);
6575 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6576 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
* _resultobj
;
6578 wxScrolledWindow
* _arg0
;
6581 PyObject
* _argo0
= 0;
6584 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6596 _arg1
= (bool ) tempbool1
;
6597 _arg2
= (bool ) tempbool2
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) return NULL
;
6604 } Py_INCREF(Py_None
);
6605 _resultobj
= Py_None
;
6609 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6610 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
* _resultobj
;
6613 wxScrolledWindow
* _arg0
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self","orient", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) return NULL
;
6634 } _resultobj
= Py_BuildValue("i",_result
);
6638 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6639 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
* _resultobj
;
6641 wxScrolledWindow
* _arg0
;
6646 PyObject
* _argo0
= 0;
6647 char *_kwnames
[] = { "self", NULL
};
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) return NULL
;
6671 } Py_INCREF(Py_None
);
6672 _resultobj
= Py_None
;
6675 o
= PyInt_FromLong((long) (*_arg1
));
6676 _resultobj
= t_output_helper(_resultobj
, o
);
6680 o
= PyInt_FromLong((long) (*_arg2
));
6681 _resultobj
= t_output_helper(_resultobj
, o
);
6686 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6687 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
* _resultobj
;
6690 wxScrolledWindow
* _arg0
;
6691 PyObject
* _argo0
= 0;
6692 char *_kwnames
[] = { "self", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) return NULL
;
6710 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6714 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6715 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6717 wxScrolledWindow
* _arg0
;
6722 PyObject
* _argo0
= 0;
6723 char *_kwnames
[] = { "self", NULL
};
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) return NULL
;
6747 } Py_INCREF(Py_None
);
6748 _resultobj
= Py_None
;
6751 o
= PyInt_FromLong((long) (*_arg1
));
6752 _resultobj
= t_output_helper(_resultobj
, o
);
6756 o
= PyInt_FromLong((long) (*_arg2
));
6757 _resultobj
= t_output_helper(_resultobj
, o
);
6762 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6763 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6766 wxScrolledWindow
* _arg0
;
6767 PyObject
* _argo0
= 0;
6768 char *_kwnames
[] = { "self", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) return NULL
;
6786 } _resultobj
= Py_BuildValue("i",_result
);
6790 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6791 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
* _resultobj
;
6793 wxScrolledWindow
* _arg0
;
6795 PyObject
* _argo0
= 0;
6796 PyObject
* _argo1
= 0;
6797 char *_kwnames
[] = { "self","dc", NULL
};
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6810 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) return NULL
;
6822 } Py_INCREF(Py_None
);
6823 _resultobj
= Py_None
;
6827 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6828 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
* _resultobj
;
6830 wxScrolledWindow
* _arg0
;
6833 PyObject
* _argo0
= 0;
6834 char *_kwnames
[] = { "self","x","y", NULL
};
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) return NULL
;
6852 } Py_INCREF(Py_None
);
6853 _resultobj
= Py_None
;
6857 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6858 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6860 wxScrolledWindow
* _arg0
;
6865 int _arg5
= (int ) 0;
6866 int _arg6
= (int ) 0;
6867 int _arg7
= (int ) FALSE
;
6868 PyObject
* _argo0
= 0;
6869 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) return NULL
;
6887 } Py_INCREF(Py_None
);
6888 _resultobj
= Py_None
;
6892 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6893 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
* _resultobj
;
6895 wxScrolledWindow
* _arg0
;
6898 PyObject
* _argo0
= 0;
6899 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) return NULL
;
6917 } Py_INCREF(Py_None
);
6918 _resultobj
= Py_None
;
6922 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6923 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6925 wxScrolledWindow
* _arg0
;
6927 PyObject
* _argo0
= 0;
6928 PyObject
* _argo1
= 0;
6929 char *_kwnames
[] = { "self","window", NULL
};
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) return NULL
;
6954 } Py_INCREF(Py_None
);
6955 _resultobj
= Py_None
;
6959 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6960 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
* _resultobj
;
6962 wxScrolledWindow
* _arg0
;
6967 PyObject
* _argo0
= 0;
6968 char *_kwnames
[] = { "self", NULL
};
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) return NULL
;
6992 } Py_INCREF(Py_None
);
6993 _resultobj
= Py_None
;
6996 o
= PyInt_FromLong((long) (*_arg1
));
6997 _resultobj
= t_output_helper(_resultobj
, o
);
7001 o
= PyInt_FromLong((long) (*_arg2
));
7002 _resultobj
= t_output_helper(_resultobj
, o
);
7007 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7008 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
* _resultobj
;
7011 wxScrolledWindow
* _arg0
;
7013 PyObject
* _argo0
= 0;
7015 PyObject
* _obj1
= 0;
7016 char *_kwnames
[] = { "self","pt", NULL
};
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7031 if (! wxPoint_helper(_obj1
, &_arg1
))
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) return NULL
;
7040 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7041 _resultobj
= Py_BuildValue("s",_ptemp
);
7045 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7046 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7048 wxScrolledWindow
* _arg0
;
7055 PyObject
* _argo0
= 0;
7056 char *_kwnames
[] = { "self","x","y", NULL
};
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) return NULL
;
7080 } Py_INCREF(Py_None
);
7081 _resultobj
= Py_None
;
7084 o
= PyInt_FromLong((long) (*_arg3
));
7085 _resultobj
= t_output_helper(_resultobj
, o
);
7089 o
= PyInt_FromLong((long) (*_arg4
));
7090 _resultobj
= t_output_helper(_resultobj
, o
);
7095 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7096 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
* _resultobj
;
7099 wxScrolledWindow
* _arg0
;
7101 PyObject
* _argo0
= 0;
7103 PyObject
* _obj1
= 0;
7104 char *_kwnames
[] = { "self","pt", NULL
};
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7119 if (! wxPoint_helper(_obj1
, &_arg1
))
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) return NULL
;
7128 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7129 _resultobj
= Py_BuildValue("s",_ptemp
);
7133 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7134 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
* _resultobj
;
7136 wxScrolledWindow
* _arg0
;
7143 PyObject
* _argo0
= 0;
7144 char *_kwnames
[] = { "self","x","y", NULL
};
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) return NULL
;
7168 } Py_INCREF(Py_None
);
7169 _resultobj
= Py_None
;
7172 o
= PyInt_FromLong((long) (*_arg3
));
7173 _resultobj
= t_output_helper(_resultobj
, o
);
7177 o
= PyInt_FromLong((long) (*_arg4
));
7178 _resultobj
= t_output_helper(_resultobj
, o
);
7183 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7184 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
* _resultobj
;
7186 wxScrolledWindow
* _arg0
;
7189 PyObject
* _argo0
= 0;
7190 char *_kwnames
[] = { "self","xs","ys", NULL
};
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) return NULL
;
7208 } Py_INCREF(Py_None
);
7209 _resultobj
= Py_None
;
7213 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7214 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
* _resultobj
;
7217 wxScrolledWindow
* _arg0
;
7218 PyObject
* _argo0
= 0;
7219 char *_kwnames
[] = { "self", NULL
};
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) return NULL
;
7237 } _resultobj
= Py_BuildValue("d",_result
);
7241 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7242 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
* _resultobj
;
7245 wxScrolledWindow
* _arg0
;
7246 PyObject
* _argo0
= 0;
7247 char *_kwnames
[] = { "self", NULL
};
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) return NULL
;
7265 } _resultobj
= Py_BuildValue("d",_result
);
7269 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7270 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7272 wxScrolledWindow
* _arg0
;
7273 PyObject
* _argo0
= 0;
7274 char *_kwnames
[] = { "self", NULL
};
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 wxScrolledWindow_AdjustScrollbars(_arg0
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) return NULL
;
7292 } Py_INCREF(Py_None
);
7293 _resultobj
= Py_None
;
7297 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7298 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
* _resultobj
;
7301 wxScrolledWindow
* _arg0
;
7302 PyObject
* _argo0
= 0;
7303 char *_kwnames
[] = { "self", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) return NULL
;
7321 } _resultobj
= Py_BuildValue("i",_result
);
7325 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7328 src
= (wxMenu
*) ptr
;
7329 dest
= (wxEvtHandler
*) src
;
7330 return (void *) dest
;
7333 static void *SwigwxMenuTowxObject(void *ptr
) {
7336 src
= (wxMenu
*) ptr
;
7337 dest
= (wxObject
*) src
;
7338 return (void *) dest
;
7341 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7342 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
* _resultobj
;
7345 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7346 long _arg1
= (long ) 0;
7347 PyObject
* _obj0
= 0;
7348 char *_kwnames
[] = { "title","style", NULL
};
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7356 _arg0
= wxString_in_helper(_obj0
);
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) return NULL
;
7367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7368 _resultobj
= Py_BuildValue("s",_ptemp
);
7371 _resultobj
= Py_None
;
7380 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7381 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
* _resultobj
;
7386 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7387 wxItemKind _arg4
= (wxItemKind
) wxItem_Normal
;
7388 PyObject
* _argo0
= 0;
7389 PyObject
* _obj2
= 0;
7390 PyObject
* _obj3
= 0;
7391 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7404 _arg2
= wxString_in_helper(_obj2
);
7410 _arg3
= wxString_in_helper(_obj3
);
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) return NULL
;
7420 } Py_INCREF(Py_None
);
7421 _resultobj
= Py_None
;
7433 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7434 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
* _resultobj
;
7440 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7441 PyObject
* _argo0
= 0;
7442 PyObject
* _obj2
= 0;
7443 PyObject
* _argo3
= 0;
7444 PyObject
* _obj4
= 0;
7445 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7458 _arg2
= wxString_in_helper(_obj2
);
7463 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7471 _arg4
= wxString_in_helper(_obj4
);
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) return NULL
;
7481 } Py_INCREF(Py_None
);
7482 _resultobj
= Py_None
;
7494 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7495 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
* _resultobj
;
7499 PyObject
* _argo0
= 0;
7500 PyObject
* _argo1
= 0;
7501 char *_kwnames
[] = { "self","item", NULL
};
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 wxMenu_AppendItem(_arg0
,_arg1
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) return NULL
;
7526 } Py_INCREF(Py_None
);
7527 _resultobj
= Py_None
;
7531 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7532 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7537 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7538 PyObject
* _argo0
= 0;
7539 PyObject
* _obj2
= 0;
7540 PyObject
* _obj3
= 0;
7541 char *_kwnames
[] = { "self","id","text","help", NULL
};
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7554 _arg2
= wxString_in_helper(_obj2
);
7560 _arg3
= wxString_in_helper(_obj3
);
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) return NULL
;
7570 } Py_INCREF(Py_None
);
7571 _resultobj
= Py_None
;
7583 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7584 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7589 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7590 PyObject
* _argo0
= 0;
7591 PyObject
* _obj2
= 0;
7592 PyObject
* _obj3
= 0;
7593 char *_kwnames
[] = { "self","id","text","help", NULL
};
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7606 _arg2
= wxString_in_helper(_obj2
);
7612 _arg3
= wxString_in_helper(_obj3
);
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) return NULL
;
7622 } Py_INCREF(Py_None
);
7623 _resultobj
= Py_None
;
7635 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7636 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
* _resultobj
;
7639 PyObject
* _argo0
= 0;
7640 char *_kwnames
[] = { "self", NULL
};
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 wxMenu_AppendSeparator(_arg0
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) return NULL
;
7658 } Py_INCREF(Py_None
);
7659 _resultobj
= Py_None
;
7663 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7664 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7670 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7671 wxItemKind _arg5
= (wxItemKind
) wxItem_Normal
;
7672 PyObject
* _argo0
= 0;
7673 PyObject
* _obj3
= 0;
7674 PyObject
* _obj4
= 0;
7675 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7688 _arg3
= wxString_in_helper(_obj3
);
7694 _arg4
= wxString_in_helper(_obj4
);
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) return NULL
;
7704 } Py_INCREF(Py_None
);
7705 _resultobj
= Py_None
;
7717 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7718 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
* _resultobj
;
7722 PyObject
* _argo0
= 0;
7723 char *_kwnames
[] = { "self","pos", NULL
};
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
7729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 wxMenu_InsertSeparator(_arg0
,_arg1
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) return NULL
;
7741 } Py_INCREF(Py_None
);
7742 _resultobj
= Py_None
;
7746 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7747 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
* _resultobj
;
7753 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7754 PyObject
* _argo0
= 0;
7755 PyObject
* _obj3
= 0;
7756 PyObject
* _obj4
= 0;
7757 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7770 _arg3
= wxString_in_helper(_obj3
);
7776 _arg4
= wxString_in_helper(_obj4
);
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) return NULL
;
7786 } Py_INCREF(Py_None
);
7787 _resultobj
= Py_None
;
7799 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7800 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
* _resultobj
;
7806 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7807 PyObject
* _argo0
= 0;
7808 PyObject
* _obj3
= 0;
7809 PyObject
* _obj4
= 0;
7810 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7823 _arg3
= wxString_in_helper(_obj3
);
7829 _arg4
= wxString_in_helper(_obj4
);
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) return NULL
;
7839 } Py_INCREF(Py_None
);
7840 _resultobj
= Py_None
;
7852 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7853 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
* _resultobj
;
7860 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
7861 PyObject
* _argo0
= 0;
7862 PyObject
* _obj3
= 0;
7863 PyObject
* _argo4
= 0;
7864 PyObject
* _obj5
= 0;
7865 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
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_InsertMenu. Expected _wxMenu_p.");
7878 _arg3
= wxString_in_helper(_obj3
);
7883 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7891 _arg5
= wxString_in_helper(_obj5
);
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) return NULL
;
7901 } Py_INCREF(Py_None
);
7902 _resultobj
= Py_None
;
7914 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7915 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
* _resultobj
;
7921 PyObject
* _argo0
= 0;
7922 PyObject
* _argo2
= 0;
7923 char *_kwnames
[] = { "self","pos","item", NULL
};
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7936 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7937 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) return NULL
;
7948 } _resultobj
= Py_BuildValue("i",_result
);
7952 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7953 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
* _resultobj
;
7958 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7959 wxItemKind _arg4
= (wxItemKind
) wxItem_Normal
;
7960 PyObject
* _argo0
= 0;
7961 PyObject
* _obj2
= 0;
7962 PyObject
* _obj3
= 0;
7963 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
7976 _arg2
= wxString_in_helper(_obj2
);
7982 _arg3
= wxString_in_helper(_obj3
);
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) return NULL
;
7992 } Py_INCREF(Py_None
);
7993 _resultobj
= Py_None
;
8005 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8006 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
* _resultobj
;
8009 PyObject
* _argo0
= 0;
8010 char *_kwnames
[] = { "self", NULL
};
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 wxMenu_PrependSeparator(_arg0
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) return NULL
;
8028 } Py_INCREF(Py_None
);
8029 _resultobj
= Py_None
;
8033 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8034 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
* _resultobj
;
8039 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8040 PyObject
* _argo0
= 0;
8041 PyObject
* _obj2
= 0;
8042 PyObject
* _obj3
= 0;
8043 char *_kwnames
[] = { "self","id","text","help", NULL
};
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8056 _arg2
= wxString_in_helper(_obj2
);
8062 _arg3
= wxString_in_helper(_obj3
);
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) return NULL
;
8072 } Py_INCREF(Py_None
);
8073 _resultobj
= Py_None
;
8085 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8086 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
* _resultobj
;
8091 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8092 PyObject
* _argo0
= 0;
8093 PyObject
* _obj2
= 0;
8094 PyObject
* _obj3
= 0;
8095 char *_kwnames
[] = { "self","id","text","help", NULL
};
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8108 _arg2
= wxString_in_helper(_obj2
);
8114 _arg3
= wxString_in_helper(_obj3
);
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) return NULL
;
8124 } Py_INCREF(Py_None
);
8125 _resultobj
= Py_None
;
8137 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8138 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
* _resultobj
;
8144 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8145 PyObject
* _argo0
= 0;
8146 PyObject
* _obj2
= 0;
8147 PyObject
* _argo3
= 0;
8148 PyObject
* _obj4
= 0;
8149 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8162 _arg2
= wxString_in_helper(_obj2
);
8167 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8168 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8175 _arg4
= wxString_in_helper(_obj4
);
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) return NULL
;
8185 } Py_INCREF(Py_None
);
8186 _resultobj
= Py_None
;
8198 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8199 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
* _resultobj
;
8203 PyObject
* _argo0
= 0;
8204 PyObject
* _argo1
= 0;
8205 char *_kwnames
[] = { "self","item", NULL
};
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8218 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8219 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 wxMenu_PrependItem(_arg0
,_arg1
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) return NULL
;
8230 } Py_INCREF(Py_None
);
8231 _resultobj
= Py_None
;
8235 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8236 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
* _resultobj
;
8239 PyObject
* _argo0
= 0;
8240 char *_kwnames
[] = { "self", NULL
};
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 wxMenu_Break(_arg0
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) return NULL
;
8258 } Py_INCREF(Py_None
);
8259 _resultobj
= Py_None
;
8263 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8264 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
* _resultobj
;
8269 PyObject
* _argo0
= 0;
8271 char *_kwnames
[] = { "self","id","flag", NULL
};
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8283 _arg2
= (bool ) tempbool2
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) return NULL
;
8290 } Py_INCREF(Py_None
);
8291 _resultobj
= Py_None
;
8295 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8296 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
* _resultobj
;
8301 PyObject
* _argo0
= 0;
8302 char *_kwnames
[] = { "self","id", NULL
};
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) return NULL
;
8320 } _resultobj
= Py_BuildValue("i",_result
);
8324 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8325 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
* _resultobj
;
8330 PyObject
* _argo0
= 0;
8332 char *_kwnames
[] = { "self","id","enable", NULL
};
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8344 _arg2
= (bool ) tempbool2
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) return NULL
;
8351 } Py_INCREF(Py_None
);
8352 _resultobj
= Py_None
;
8356 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8357 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
* _resultobj
;
8362 PyObject
* _argo0
= 0;
8363 char *_kwnames
[] = { "self","id", NULL
};
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) return NULL
;
8381 } _resultobj
= Py_BuildValue("i",_result
);
8385 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8386 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
* _resultobj
;
8391 PyObject
* _argo0
= 0;
8392 PyObject
* _obj1
= 0;
8393 char *_kwnames
[] = { "self","itemString", NULL
};
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8406 _arg1
= wxString_in_helper(_obj1
);
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) return NULL
;
8416 } _resultobj
= Py_BuildValue("i",_result
);
8424 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8425 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
* _resultobj
;
8427 wxMenuItem
* _result
;
8430 PyObject
* _argo0
= 0;
8431 char *_kwnames
[] = { "self","id", NULL
};
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) return NULL
;
8449 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8453 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8454 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
* _resultobj
;
8458 PyObject
* _argo0
= 0;
8459 char *_kwnames
[] = { "self", NULL
};
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) return NULL
;
8479 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8481 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8490 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8491 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
* _resultobj
;
8495 PyObject
* _argo0
= 0;
8496 PyObject
* _obj1
= 0;
8497 char *_kwnames
[] = { "self","title", NULL
};
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8510 _arg1
= wxString_in_helper(_obj1
);
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 wxMenu_SetTitle(_arg0
,*_arg1
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) return NULL
;
8520 } Py_INCREF(Py_None
);
8521 _resultobj
= Py_None
;
8529 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8530 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
* _resultobj
;
8535 PyObject
* _argo0
= 0;
8536 char *_kwnames
[] = { "self","id", NULL
};
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) return NULL
;
8556 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8558 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8567 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8568 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
* _resultobj
;
8573 PyObject
* _argo0
= 0;
8574 PyObject
* _obj2
= 0;
8575 char *_kwnames
[] = { "self","id","label", NULL
};
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8588 _arg2
= wxString_in_helper(_obj2
);
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) return NULL
;
8598 } Py_INCREF(Py_None
);
8599 _resultobj
= Py_None
;
8607 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8608 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
* _resultobj
;
8613 PyObject
* _argo0
= 0;
8614 char *_kwnames
[] = { "self","id", NULL
};
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) return NULL
;
8634 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8636 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8645 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8646 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
* _resultobj
;
8651 PyObject
* _argo0
= 0;
8652 PyObject
* _obj2
= 0;
8653 char *_kwnames
[] = { "self","id","helpString", NULL
};
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8666 _arg2
= wxString_in_helper(_obj2
);
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) return NULL
;
8676 } Py_INCREF(Py_None
);
8677 _resultobj
= Py_None
;
8685 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8686 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
* _resultobj
;
8689 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8690 PyObject
* _argo0
= 0;
8691 PyObject
* _argo1
= 0;
8692 char *_kwnames
[] = { "self","source", NULL
};
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
8698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8705 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8706 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 wxMenu_UpdateUI(_arg0
,_arg1
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) return NULL
;
8717 } Py_INCREF(Py_None
);
8718 _resultobj
= Py_None
;
8722 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8723 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
* _resultobj
;
8728 PyObject
* _argo0
= 0;
8729 char *_kwnames
[] = { "self","id", NULL
};
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
8735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) return NULL
;
8747 } _resultobj
= Py_BuildValue("i",_result
);
8751 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8752 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
* _resultobj
;
8757 PyObject
* _argo0
= 0;
8758 PyObject
* _argo1
= 0;
8759 char *_kwnames
[] = { "self","item", NULL
};
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
8765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) return NULL
;
8784 } _resultobj
= Py_BuildValue("i",_result
);
8788 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8789 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
* _resultobj
;
8791 wxMenuItem
* _result
;
8794 PyObject
* _argo0
= 0;
8795 char *_kwnames
[] = { "self","id", NULL
};
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) return NULL
;
8813 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8817 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8818 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
* _resultobj
;
8820 wxMenuItem
* _result
;
8823 PyObject
* _argo0
= 0;
8824 PyObject
* _argo1
= 0;
8825 char *_kwnames
[] = { "self","item", NULL
};
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
8831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) return NULL
;
8850 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8854 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8855 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
* _resultobj
;
8858 PyObject
* _argo0
= 0;
8859 char *_kwnames
[] = { "self", NULL
};
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
8865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 wxMenu_Destroy(_arg0
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) return NULL
;
8877 } Py_INCREF(Py_None
);
8878 _resultobj
= Py_None
;
8882 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8883 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
* _resultobj
;
8888 PyObject
* _argo0
= 0;
8889 char *_kwnames
[] = { "self","id", NULL
};
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
8895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) return NULL
;
8907 } _resultobj
= Py_BuildValue("i",_result
);
8911 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8912 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
* _resultobj
;
8917 PyObject
* _argo0
= 0;
8918 PyObject
* _argo1
= 0;
8919 char *_kwnames
[] = { "self","item", NULL
};
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
8925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8932 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8933 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) return NULL
;
8944 } _resultobj
= Py_BuildValue("i",_result
);
8948 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8949 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
* _resultobj
;
8953 PyObject
* _argo0
= 0;
8954 char *_kwnames
[] = { "self", NULL
};
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
8960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) return NULL
;
8972 } _resultobj
= Py_BuildValue("i",_result
);
8976 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
8977 wxMenuItemList
& list
= self
->GetMenuItems();
8978 return wxPy_ConvertList(&list
, "wxMenuItem");
8980 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
* _resultobj
;
8984 PyObject
* _argo0
= 0;
8985 char *_kwnames
[] = { "self", NULL
};
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
8991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) return NULL
;
9004 _resultobj
= _result
;
9009 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9010 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
* _resultobj
;
9013 wxEvtHandler
* _arg1
;
9014 PyObject
* _argo0
= 0;
9015 PyObject
* _argo1
= 0;
9016 char *_kwnames
[] = { "self","handler", NULL
};
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9029 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9030 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 wxMenu_SetEventHandler(_arg0
,_arg1
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) return NULL
;
9041 } Py_INCREF(Py_None
);
9042 _resultobj
= Py_None
;
9046 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9047 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
* _resultobj
;
9049 wxEvtHandler
* _result
;
9051 PyObject
* _argo0
= 0;
9052 char *_kwnames
[] = { "self", NULL
};
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) return NULL
;
9070 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9074 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9075 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
* _resultobj
;
9079 PyObject
* _argo0
= 0;
9080 PyObject
* _argo1
= 0;
9081 char *_kwnames
[] = { "self","win", NULL
};
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9094 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9095 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) return NULL
;
9106 } Py_INCREF(Py_None
);
9107 _resultobj
= Py_None
;
9111 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9112 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
* _resultobj
;
9116 PyObject
* _argo0
= 0;
9117 char *_kwnames
[] = { "self", NULL
};
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) return NULL
;
9135 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9139 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9140 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
* _resultobj
;
9144 PyObject
* _argo0
= 0;
9145 char *_kwnames
[] = { "self", NULL
};
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 _result
= (long )wxMenu_GetStyle(_arg0
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) return NULL
;
9163 } _resultobj
= Py_BuildValue("l",_result
);
9167 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9168 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
* _resultobj
;
9172 PyObject
* _argo0
= 0;
9173 char *_kwnames
[] = { "self", NULL
};
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 _result
= (bool )wxMenu_IsAttached(_arg0
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) return NULL
;
9191 } _resultobj
= Py_BuildValue("i",_result
);
9195 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9196 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9200 PyObject
* _argo0
= 0;
9201 PyObject
* _argo1
= 0;
9202 char *_kwnames
[] = { "self","parent", NULL
};
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 wxMenu_SetParent(_arg0
,_arg1
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) return NULL
;
9227 } Py_INCREF(Py_None
);
9228 _resultobj
= Py_None
;
9232 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9233 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
* _resultobj
;
9237 PyObject
* _argo0
= 0;
9238 char *_kwnames
[] = { "self", NULL
};
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) return NULL
;
9256 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9260 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9263 src
= (wxMenuBar
*) ptr
;
9264 dest
= (wxWindow
*) src
;
9265 return (void *) dest
;
9268 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9271 src
= (wxMenuBar
*) ptr
;
9272 dest
= (wxEvtHandler
*) src
;
9273 return (void *) dest
;
9276 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9279 src
= (wxMenuBar
*) ptr
;
9280 dest
= (wxObject
*) src
;
9281 return (void *) dest
;
9284 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9285 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
* _resultobj
;
9287 wxMenuBar
* _result
;
9288 long _arg0
= (long ) 0;
9289 char *_kwnames
[] = { "style", NULL
};
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) return NULL
;
9302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9303 _resultobj
= Py_BuildValue("s",_ptemp
);
9306 _resultobj
= Py_None
;
9311 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9312 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
* _resultobj
;
9318 PyObject
* _argo0
= 0;
9319 PyObject
* _argo1
= 0;
9320 PyObject
* _obj2
= 0;
9321 char *_kwnames
[] = { "self","menu","title", NULL
};
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9341 _arg2
= wxString_in_helper(_obj2
);
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) return NULL
;
9351 } _resultobj
= Py_BuildValue("i",_result
);
9359 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9360 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
* _resultobj
;
9367 PyObject
* _argo0
= 0;
9368 PyObject
* _argo2
= 0;
9369 PyObject
* _obj3
= 0;
9370 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9383 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9384 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9390 _arg3
= wxString_in_helper(_obj3
);
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) return NULL
;
9400 } _resultobj
= Py_BuildValue("i",_result
);
9408 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9409 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
* _resultobj
;
9413 PyObject
* _argo0
= 0;
9414 char *_kwnames
[] = { "self", NULL
};
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) return NULL
;
9432 } _resultobj
= Py_BuildValue("i",_result
);
9436 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9437 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
* _resultobj
;
9442 PyObject
* _argo0
= 0;
9443 char *_kwnames
[] = { "self","pos", NULL
};
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) return NULL
;
9461 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9465 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9466 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
* _resultobj
;
9473 PyObject
* _argo0
= 0;
9474 PyObject
* _argo2
= 0;
9475 PyObject
* _obj3
= 0;
9476 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9489 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9490 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9496 _arg3
= wxString_in_helper(_obj3
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) return NULL
;
9506 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9514 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9515 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
* _resultobj
;
9520 PyObject
* _argo0
= 0;
9521 char *_kwnames
[] = { "self","pos", NULL
};
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) return NULL
;
9539 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9543 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9544 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
* _resultobj
;
9549 PyObject
* _argo0
= 0;
9551 char *_kwnames
[] = { "self","pos","enable", NULL
};
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9563 _arg2
= (bool ) tempbool2
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) return NULL
;
9570 } Py_INCREF(Py_None
);
9571 _resultobj
= Py_None
;
9575 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9576 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
* _resultobj
;
9581 PyObject
* _argo0
= 0;
9582 PyObject
* _obj2
= 0;
9583 char *_kwnames
[] = { "self","pos","label", NULL
};
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9596 _arg2
= wxString_in_helper(_obj2
);
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) return NULL
;
9606 } Py_INCREF(Py_None
);
9607 _resultobj
= Py_None
;
9615 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9616 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
* _resultobj
;
9621 PyObject
* _argo0
= 0;
9622 char *_kwnames
[] = { "self","pos", NULL
};
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) return NULL
;
9642 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9644 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9653 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9654 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
* _resultobj
;
9659 PyObject
* _argo0
= 0;
9660 PyObject
* _obj1
= 0;
9661 char *_kwnames
[] = { "self","title", NULL
};
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9674 _arg1
= wxString_in_helper(_obj1
);
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) return NULL
;
9684 } _resultobj
= Py_BuildValue("i",_result
);
9692 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9693 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
* _resultobj
;
9699 PyObject
* _argo0
= 0;
9700 PyObject
* _obj1
= 0;
9701 PyObject
* _obj2
= 0;
9702 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9715 _arg1
= wxString_in_helper(_obj1
);
9720 _arg2
= wxString_in_helper(_obj2
);
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) return NULL
;
9730 } _resultobj
= Py_BuildValue("i",_result
);
9742 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9743 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
* _resultobj
;
9745 wxMenuItem
* _result
;
9748 PyObject
* _argo0
= 0;
9749 char *_kwnames
[] = { "self","id", NULL
};
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) return NULL
;
9767 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9771 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9772 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
* _resultobj
;
9777 PyObject
* _argo0
= 0;
9779 char *_kwnames
[] = { "self","id","enable", NULL
};
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9791 _arg2
= (bool ) tempbool2
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) return NULL
;
9798 } Py_INCREF(Py_None
);
9799 _resultobj
= Py_None
;
9803 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9804 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
* _resultobj
;
9809 PyObject
* _argo0
= 0;
9811 char *_kwnames
[] = { "self","id","check", NULL
};
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9823 _arg2
= (bool ) tempbool2
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) return NULL
;
9830 } Py_INCREF(Py_None
);
9831 _resultobj
= Py_None
;
9835 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9836 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
* _resultobj
;
9841 PyObject
* _argo0
= 0;
9842 char *_kwnames
[] = { "self","id", NULL
};
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) return NULL
;
9860 } _resultobj
= Py_BuildValue("i",_result
);
9864 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9865 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
* _resultobj
;
9870 PyObject
* _argo0
= 0;
9871 char *_kwnames
[] = { "self","id", NULL
};
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) return NULL
;
9889 } _resultobj
= Py_BuildValue("i",_result
);
9893 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9894 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
* _resultobj
;
9899 PyObject
* _argo0
= 0;
9900 PyObject
* _obj2
= 0;
9901 char *_kwnames
[] = { "self","id","label", NULL
};
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9914 _arg2
= wxString_in_helper(_obj2
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) return NULL
;
9924 } Py_INCREF(Py_None
);
9925 _resultobj
= Py_None
;
9933 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9934 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
* _resultobj
;
9939 PyObject
* _argo0
= 0;
9940 char *_kwnames
[] = { "self","id", NULL
};
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) return NULL
;
9960 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9962 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9971 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9972 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
* _resultobj
;
9977 PyObject
* _argo0
= 0;
9978 PyObject
* _obj2
= 0;
9979 char *_kwnames
[] = { "self","id","helpString", NULL
};
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9992 _arg2
= wxString_in_helper(_obj2
);
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) return NULL
;
10002 } Py_INCREF(Py_None
);
10003 _resultobj
= Py_None
;
10011 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10012 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
* _resultobj
;
10014 wxString
* _result
;
10017 PyObject
* _argo0
= 0;
10018 char *_kwnames
[] = { "self","id", NULL
};
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) return NULL
;
10038 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10040 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10049 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10052 src
= (wxMenuItem
*) ptr
;
10053 dest
= (wxObject
*) src
;
10054 return (void *) dest
;
10057 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10058 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
* _resultobj
;
10060 wxMenuItem
* _result
;
10061 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10062 int _arg1
= (int ) wxID_SEPARATOR
;
10063 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10064 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10065 wxItemKind _arg4
= (wxItemKind
) wxItem_Normal
;
10066 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10067 PyObject
* _argo0
= 0;
10068 PyObject
* _obj2
= 0;
10069 PyObject
* _obj3
= 0;
10070 PyObject
* _argo5
= 0;
10071 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10086 _arg2
= wxString_in_helper(_obj2
);
10092 _arg3
= wxString_in_helper(_obj3
);
10097 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10098 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) return NULL
;
10110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10111 _resultobj
= Py_BuildValue("s",_ptemp
);
10113 Py_INCREF(Py_None
);
10114 _resultobj
= Py_None
;
10127 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10128 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
* _resultobj
;
10131 wxMenuItem
* _arg0
;
10132 PyObject
* _argo0
= 0;
10133 char *_kwnames
[] = { "self", NULL
};
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) return NULL
;
10151 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10155 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10156 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
* _resultobj
;
10158 wxMenuItem
* _arg0
;
10160 PyObject
* _argo0
= 0;
10161 char *_kwnames
[] = { "self","id", NULL
};
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 wxMenuItem_SetId(_arg0
,_arg1
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) return NULL
;
10179 } Py_INCREF(Py_None
);
10180 _resultobj
= Py_None
;
10184 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10185 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
* _resultobj
;
10188 wxMenuItem
* _arg0
;
10189 PyObject
* _argo0
= 0;
10190 char *_kwnames
[] = { "self", NULL
};
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 _result
= (int )wxMenuItem_GetId(_arg0
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) return NULL
;
10208 } _resultobj
= Py_BuildValue("i",_result
);
10212 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10213 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
* _resultobj
;
10216 wxMenuItem
* _arg0
;
10217 PyObject
* _argo0
= 0;
10218 char *_kwnames
[] = { "self", NULL
};
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) return NULL
;
10236 } _resultobj
= Py_BuildValue("i",_result
);
10240 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10241 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
* _resultobj
;
10243 wxMenuItem
* _arg0
;
10245 PyObject
* _argo0
= 0;
10246 PyObject
* _obj1
= 0;
10247 char *_kwnames
[] = { "self","str", NULL
};
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10260 _arg1
= wxString_in_helper(_obj1
);
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 wxMenuItem_SetText(_arg0
,*_arg1
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) return NULL
;
10270 } Py_INCREF(Py_None
);
10271 _resultobj
= Py_None
;
10279 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10280 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
* _resultobj
;
10282 wxString
* _result
;
10283 wxMenuItem
* _arg0
;
10284 PyObject
* _argo0
= 0;
10285 char *_kwnames
[] = { "self", NULL
};
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) return NULL
;
10305 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10307 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10316 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10317 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
* _resultobj
;
10319 wxString
* _result
;
10320 wxMenuItem
* _arg0
;
10321 PyObject
* _argo0
= 0;
10322 char *_kwnames
[] = { "self", NULL
};
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10337 _result
= (wxString
*) &_result_ref
;
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) return NULL
;
10343 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10345 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10351 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10352 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
* _resultobj
;
10354 wxItemKind _result
;
10355 wxMenuItem
* _arg0
;
10356 PyObject
* _argo0
= 0;
10357 char *_kwnames
[] = { "self", NULL
};
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) return NULL
;
10375 } _resultobj
= Py_BuildValue("i",_result
);
10379 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10380 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
* _resultobj
;
10382 wxMenuItem
* _arg0
;
10384 PyObject
* _argo0
= 0;
10386 char *_kwnames
[] = { "self","checkable", NULL
};
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10398 _arg1
= (bool ) tempbool1
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) return NULL
;
10405 } Py_INCREF(Py_None
);
10406 _resultobj
= Py_None
;
10410 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10411 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
* _resultobj
;
10414 wxMenuItem
* _arg0
;
10415 PyObject
* _argo0
= 0;
10416 char *_kwnames
[] = { "self", NULL
};
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) return NULL
;
10434 } _resultobj
= Py_BuildValue("i",_result
);
10438 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10439 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
* _resultobj
;
10442 wxMenuItem
* _arg0
;
10443 PyObject
* _argo0
= 0;
10444 char *_kwnames
[] = { "self", NULL
};
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) return NULL
;
10462 } _resultobj
= Py_BuildValue("i",_result
);
10466 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10467 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
* _resultobj
;
10469 wxMenuItem
* _arg0
;
10471 PyObject
* _argo0
= 0;
10472 PyObject
* _argo1
= 0;
10473 char *_kwnames
[] = { "self","menu", NULL
};
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) return NULL
;
10498 } Py_INCREF(Py_None
);
10499 _resultobj
= Py_None
;
10503 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10504 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
* _resultobj
;
10507 wxMenuItem
* _arg0
;
10508 PyObject
* _argo0
= 0;
10509 char *_kwnames
[] = { "self", NULL
};
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) return NULL
;
10527 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10531 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10532 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
* _resultobj
;
10534 wxMenuItem
* _arg0
;
10535 bool _arg1
= (bool ) TRUE
;
10536 PyObject
* _argo0
= 0;
10537 int tempbool1
= (int) TRUE
;
10538 char *_kwnames
[] = { "self","enable", NULL
};
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10550 _arg1
= (bool ) tempbool1
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 wxMenuItem_Enable(_arg0
,_arg1
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) return NULL
;
10557 } Py_INCREF(Py_None
);
10558 _resultobj
= Py_None
;
10562 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10563 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
* _resultobj
;
10566 wxMenuItem
* _arg0
;
10567 PyObject
* _argo0
= 0;
10568 char *_kwnames
[] = { "self", NULL
};
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) return NULL
;
10586 } _resultobj
= Py_BuildValue("i",_result
);
10590 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10591 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
* _resultobj
;
10593 wxMenuItem
* _arg0
;
10594 bool _arg1
= (bool ) TRUE
;
10595 PyObject
* _argo0
= 0;
10596 int tempbool1
= (int) TRUE
;
10597 char *_kwnames
[] = { "self","check", NULL
};
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10609 _arg1
= (bool ) tempbool1
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 wxMenuItem_Check(_arg0
,_arg1
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) return NULL
;
10616 } Py_INCREF(Py_None
);
10617 _resultobj
= Py_None
;
10621 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10622 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
* _resultobj
;
10625 wxMenuItem
* _arg0
;
10626 PyObject
* _argo0
= 0;
10627 char *_kwnames
[] = { "self", NULL
};
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) return NULL
;
10645 } _resultobj
= Py_BuildValue("i",_result
);
10649 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10650 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
* _resultobj
;
10652 wxMenuItem
* _arg0
;
10653 PyObject
* _argo0
= 0;
10654 char *_kwnames
[] = { "self", NULL
};
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 wxMenuItem_Toggle(_arg0
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) return NULL
;
10672 } Py_INCREF(Py_None
);
10673 _resultobj
= Py_None
;
10677 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10678 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
* _resultobj
;
10680 wxMenuItem
* _arg0
;
10682 PyObject
* _argo0
= 0;
10683 PyObject
* _obj1
= 0;
10684 char *_kwnames
[] = { "self","str", NULL
};
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10697 _arg1
= wxString_in_helper(_obj1
);
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) return NULL
;
10707 } Py_INCREF(Py_None
);
10708 _resultobj
= Py_None
;
10716 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10717 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
* _resultobj
;
10719 wxString
* _result
;
10720 wxMenuItem
* _arg0
;
10721 PyObject
* _argo0
= 0;
10722 char *_kwnames
[] = { "self", NULL
};
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
10728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
10737 _result
= (wxString
*) &_result_ref
;
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) return NULL
;
10743 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10745 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10751 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10752 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
* _resultobj
;
10754 wxAcceleratorEntry
* _result
;
10755 wxMenuItem
* _arg0
;
10756 PyObject
* _argo0
= 0;
10757 char *_kwnames
[] = { "self", NULL
};
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
10764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) return NULL
;
10777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
10778 _resultobj
= Py_BuildValue("s",_ptemp
);
10780 Py_INCREF(Py_None
);
10781 _resultobj
= Py_None
;
10786 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10787 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
* _resultobj
;
10789 wxMenuItem
* _arg0
;
10790 wxAcceleratorEntry
* _arg1
;
10791 PyObject
* _argo0
= 0;
10792 PyObject
* _argo1
= 0;
10793 char *_kwnames
[] = { "self","accel", NULL
};
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
10799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
10808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 wxMenuItem_SetAccel(_arg0
,_arg1
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) return NULL
;
10818 } Py_INCREF(Py_None
);
10819 _resultobj
= Py_None
;
10823 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
* _resultobj
;
10825 wxString
* _result
;
10827 PyObject
* _obj0
= 0;
10828 char *_kwnames
[] = { "text", NULL
};
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10834 _arg0
= wxString_in_helper(_obj0
);
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) return NULL
;
10846 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10848 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10861 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
10862 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
* _resultobj
;
10864 wxMenuItem
* _arg0
;
10866 PyObject
* _argo0
= 0;
10867 PyObject
* _argo1
= 0;
10868 char *_kwnames
[] = { "self","font", NULL
};
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
10874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
10881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 wxMenuItem_SetFont(_arg0
,*_arg1
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) return NULL
;
10893 } Py_INCREF(Py_None
);
10894 _resultobj
= Py_None
;
10898 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
10899 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
* _resultobj
;
10902 wxMenuItem
* _arg0
;
10903 PyObject
* _argo0
= 0;
10904 char *_kwnames
[] = { "self", NULL
};
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
10911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 _result
= new wxFont (wxMenuItem_GetFont(_arg0
));
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) return NULL
;
10923 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10924 _resultobj
= Py_BuildValue("s",_ptemp
);
10928 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
10929 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
* _resultobj
;
10931 wxMenuItem
* _arg0
;
10933 PyObject
* _argo0
= 0;
10935 PyObject
* _obj1
= 0;
10936 char *_kwnames
[] = { "self","colText", NULL
};
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
10942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
10950 if (! wxColour_helper(_obj1
, &_arg1
))
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) return NULL
;
10959 } Py_INCREF(Py_None
);
10960 _resultobj
= Py_None
;
10964 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
10965 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
* _resultobj
;
10967 wxColour
* _result
;
10968 wxMenuItem
* _arg0
;
10969 PyObject
* _argo0
= 0;
10970 char *_kwnames
[] = { "self", NULL
};
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
10977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) return NULL
;
10989 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10990 _resultobj
= Py_BuildValue("s",_ptemp
);
10994 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
10995 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
* _resultobj
;
10997 wxMenuItem
* _arg0
;
10999 PyObject
* _argo0
= 0;
11001 PyObject
* _obj1
= 0;
11002 char *_kwnames
[] = { "self","colBack", NULL
};
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11016 if (! wxColour_helper(_obj1
, &_arg1
))
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) return NULL
;
11025 } Py_INCREF(Py_None
);
11026 _resultobj
= Py_None
;
11030 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11031 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
* _resultobj
;
11033 wxColour
* _result
;
11034 wxMenuItem
* _arg0
;
11035 PyObject
* _argo0
= 0;
11036 char *_kwnames
[] = { "self", NULL
};
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
11043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) return NULL
;
11055 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11056 _resultobj
= Py_BuildValue("s",_ptemp
);
11060 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11061 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
* _resultobj
;
11063 wxMenuItem
* _arg0
;
11065 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11066 PyObject
* _argo0
= 0;
11067 PyObject
* _argo1
= 0;
11068 PyObject
* _argo2
= 0;
11069 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11089 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11090 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) return NULL
;
11101 } Py_INCREF(Py_None
);
11102 _resultobj
= Py_None
;
11106 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11107 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
* _resultobj
;
11109 wxMenuItem
* _arg0
;
11111 PyObject
* _argo0
= 0;
11112 PyObject
* _argo1
= 0;
11113 char *_kwnames
[] = { "self","bmpChecked", NULL
};
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
11119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) return NULL
;
11138 } Py_INCREF(Py_None
);
11139 _resultobj
= Py_None
;
11143 #define wxMenuItem_GetBitmap(_swigobj,_swigarg0) (_swigobj->GetBitmap(_swigarg0))
11144 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
* _resultobj
;
11146 wxBitmap
* _result
;
11147 wxMenuItem
* _arg0
;
11148 bool _arg1
= (bool ) TRUE
;
11149 PyObject
* _argo0
= 0;
11150 int tempbool1
= (int) TRUE
;
11151 char *_kwnames
[] = { "self","bChecked", NULL
};
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_GetBitmap",_kwnames
,&_argo0
,&tempbool1
))
11158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11164 _arg1
= (bool ) tempbool1
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 _result
= new wxBitmap (wxMenuItem_GetBitmap(_arg0
,_arg1
));
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) return NULL
;
11171 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
11172 _resultobj
= Py_BuildValue("s",_ptemp
);
11176 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11177 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
* _resultobj
;
11179 wxMenuItem
* _arg0
;
11181 PyObject
* _argo0
= 0;
11182 char *_kwnames
[] = { "self","nWidth", NULL
};
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
11188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) return NULL
;
11200 } Py_INCREF(Py_None
);
11201 _resultobj
= Py_None
;
11205 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11206 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
* _resultobj
;
11209 wxMenuItem
* _arg0
;
11210 PyObject
* _argo0
= 0;
11211 char *_kwnames
[] = { "self", NULL
};
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
11217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) return NULL
;
11229 } _resultobj
= Py_BuildValue("i",_result
);
11233 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
* _resultobj
;
11236 char *_kwnames
[] = { NULL
};
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) return NULL
;
11247 } _resultobj
= Py_BuildValue("i",_result
);
11251 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11252 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
* _resultobj
;
11255 wxMenuItem
* _arg0
;
11256 PyObject
* _argo0
= 0;
11257 char *_kwnames
[] = { "self", NULL
};
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
11263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) return NULL
;
11275 } _resultobj
= Py_BuildValue("i",_result
);
11279 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
11280 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
* _resultobj
;
11282 wxMenuItem
* _arg0
;
11283 PyObject
* _argo0
= 0;
11284 char *_kwnames
[] = { "self", NULL
};
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
11290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 wxMenuItem_ResetOwnerDrawn(_arg0
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) return NULL
;
11302 } Py_INCREF(Py_None
);
11303 _resultobj
= Py_None
;
11307 static PyMethodDef windowscMethods
[] = {
11308 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxWindow_OnPaint", (PyCFunction
) _wrap_wxWindow_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
11632 * This table is used by the pointer type-checker
11634 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11635 { "_signed_long","_long",0},
11636 { "_wxPrintQuality","_wxCoord",0},
11637 { "_wxPrintQuality","_int",0},
11638 { "_wxPrintQuality","_signed_int",0},
11639 { "_wxPrintQuality","_unsigned_int",0},
11640 { "_wxPrintQuality","_wxWindowID",0},
11641 { "_wxPrintQuality","_uint",0},
11642 { "_wxPrintQuality","_EBool",0},
11643 { "_wxPrintQuality","_size_t",0},
11644 { "_wxPrintQuality","_time_t",0},
11645 { "_byte","_unsigned_char",0},
11646 { "_long","_unsigned_long",0},
11647 { "_long","_signed_long",0},
11648 { "_size_t","_wxCoord",0},
11649 { "_size_t","_wxPrintQuality",0},
11650 { "_size_t","_time_t",0},
11651 { "_size_t","_unsigned_int",0},
11652 { "_size_t","_int",0},
11653 { "_size_t","_wxWindowID",0},
11654 { "_size_t","_uint",0},
11655 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11656 { "_uint","_wxCoord",0},
11657 { "_uint","_wxPrintQuality",0},
11658 { "_uint","_time_t",0},
11659 { "_uint","_size_t",0},
11660 { "_uint","_unsigned_int",0},
11661 { "_uint","_int",0},
11662 { "_uint","_wxWindowID",0},
11663 { "_wxChar","_char",0},
11664 { "_char","_wxChar",0},
11665 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11666 { "_EBool","_wxCoord",0},
11667 { "_EBool","_wxPrintQuality",0},
11668 { "_EBool","_signed_int",0},
11669 { "_EBool","_int",0},
11670 { "_EBool","_wxWindowID",0},
11671 { "_unsigned_long","_long",0},
11672 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11673 { "_signed_int","_wxCoord",0},
11674 { "_signed_int","_wxPrintQuality",0},
11675 { "_signed_int","_EBool",0},
11676 { "_signed_int","_wxWindowID",0},
11677 { "_signed_int","_int",0},
11678 { "_WXTYPE","_short",0},
11679 { "_WXTYPE","_signed_short",0},
11680 { "_WXTYPE","_unsigned_short",0},
11681 { "_unsigned_short","_WXTYPE",0},
11682 { "_unsigned_short","_short",0},
11683 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11684 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11685 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11686 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11687 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11688 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11689 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11690 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11691 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11692 { "_signed_short","_WXTYPE",0},
11693 { "_signed_short","_short",0},
11694 { "_unsigned_char","_byte",0},
11695 { "_unsigned_int","_wxCoord",0},
11696 { "_unsigned_int","_wxPrintQuality",0},
11697 { "_unsigned_int","_time_t",0},
11698 { "_unsigned_int","_size_t",0},
11699 { "_unsigned_int","_uint",0},
11700 { "_unsigned_int","_wxWindowID",0},
11701 { "_unsigned_int","_int",0},
11702 { "_short","_WXTYPE",0},
11703 { "_short","_unsigned_short",0},
11704 { "_short","_signed_short",0},
11705 { "_wxWindowID","_wxCoord",0},
11706 { "_wxWindowID","_wxPrintQuality",0},
11707 { "_wxWindowID","_time_t",0},
11708 { "_wxWindowID","_size_t",0},
11709 { "_wxWindowID","_EBool",0},
11710 { "_wxWindowID","_uint",0},
11711 { "_wxWindowID","_int",0},
11712 { "_wxWindowID","_signed_int",0},
11713 { "_wxWindowID","_unsigned_int",0},
11714 { "_int","_wxCoord",0},
11715 { "_int","_wxPrintQuality",0},
11716 { "_int","_time_t",0},
11717 { "_int","_size_t",0},
11718 { "_int","_EBool",0},
11719 { "_int","_uint",0},
11720 { "_int","_wxWindowID",0},
11721 { "_int","_unsigned_int",0},
11722 { "_int","_signed_int",0},
11723 { "_time_t","_wxCoord",0},
11724 { "_time_t","_wxPrintQuality",0},
11725 { "_time_t","_unsigned_int",0},
11726 { "_time_t","_int",0},
11727 { "_time_t","_wxWindowID",0},
11728 { "_time_t","_uint",0},
11729 { "_time_t","_size_t",0},
11730 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11731 { "_wxCoord","_int",0},
11732 { "_wxCoord","_signed_int",0},
11733 { "_wxCoord","_unsigned_int",0},
11734 { "_wxCoord","_wxWindowID",0},
11735 { "_wxCoord","_uint",0},
11736 { "_wxCoord","_EBool",0},
11737 { "_wxCoord","_size_t",0},
11738 { "_wxCoord","_time_t",0},
11739 { "_wxCoord","_wxPrintQuality",0},
11740 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11741 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11742 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11743 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11744 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11745 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11746 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11747 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11748 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11749 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11752 static PyObject
*SWIG_globals
;
11756 SWIGEXPORT(void) initwindowsc() {
11758 SWIG_globals
= SWIG_newvarlink();
11759 m
= Py_InitModule("windowsc", windowscMethods
);
11760 d
= PyModule_GetDict(m
);
11763 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11764 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);